[WIP] Topics

This commit is contained in:
Ali
2022-10-24 00:01:57 +04:00
parent 0b824469fa
commit ee65882c96
5 changed files with 37 additions and 16 deletions

View File

@@ -1394,7 +1394,9 @@ public func messagesForNotification(transaction: Transaction, id: MessageId, alw
}
}
}
if threadData == nil, let threadId = message.threadId {
threadData = transaction.getMessageHistoryThreadInfo(peerId: message.id.peerId, threadId: threadId)?.data.get(MessageHistoryThreadData.self)
}
for media in message.media {
if let action = media as? TelegramMediaAction {