mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Various improvements
This commit is contained in:
@@ -1645,7 +1645,10 @@ public class ChatMessageBubbleItemNode: ChatMessageItemView, ChatMessagePreviewI
|
||||
if case .admin = authorRank {
|
||||
} else if case .owner = authorRank {
|
||||
} else if authorRank == nil {
|
||||
enableAutoRank = true
|
||||
if case let .replyThread(replyThreadMessage) = item.chatLocation, replyThreadMessage.peerId == item.context.account.peerId {
|
||||
} else {
|
||||
enableAutoRank = true
|
||||
}
|
||||
}
|
||||
if enableAutoRank {
|
||||
if let topicAuthorId = item.associatedData.topicAuthorId, topicAuthorId == message.author?.id {
|
||||
|
||||
Reference in New Issue
Block a user