Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios

This commit is contained in:
Ilya Laktyushin
2020-10-06 09:24:16 +04:00
30 changed files with 862 additions and 698 deletions

View File

@@ -457,7 +457,7 @@ func contextMenuForChatPresentationIntefaceState(chatPresentationInterfaceState:
var isReplyThreadHead = false
if case let .replyThread(replyThreadMessage) = chatPresentationInterfaceState.chatLocation {
isReplyThreadHead = messages[0].id == replyThreadMessage.messageId
isReplyThreadHead = messages[0].id == replyThreadMessage.effectiveTopId
}
if !isReplyThreadHead, data.canReply {