mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
[WIP] Topics
This commit is contained in:
@@ -1392,6 +1392,13 @@ class ChatMessageBubbleItemNode: ChatMessageItemView, ChatMessagePreviewItemNode
|
||||
}
|
||||
authorRank = attributes.rank
|
||||
}
|
||||
|
||||
if authorRank == nil {
|
||||
if let topicAuthorId = item.associatedData.topicAuthorId, topicAuthorId == message.author?.id {
|
||||
//TODO:localize
|
||||
authorRank = .custom("Topic Author")
|
||||
}
|
||||
}
|
||||
case .group:
|
||||
break
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user