Support links for video timecodes

This commit is contained in:
Ilya Laktyushin
2021-07-07 02:29:50 +03:00
parent d4f1eedc3c
commit ad98e74477
23 changed files with 142 additions and 75 deletions

View File

@@ -1278,7 +1278,7 @@ class ChatMessageAnimatedStickerItemNode: ChatMessageItemView {
for attribute in item.content.firstMessage.attributes {
if let attribute = attribute as? SourceReferenceMessageAttribute {
openPeerId = attribute.messageId.peerId
navigate = .chat(textInputState: nil, subject: .message(id: attribute.messageId, highlight: true), peekData: nil)
navigate = .chat(textInputState: nil, subject: .message(id: attribute.messageId, highlight: true, timecode: nil), peekData: nil)
}
}