mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
[WIP] Topics
This commit is contained in:
@@ -2008,7 +2008,7 @@ class ChatListItemNode: ItemListRevealOptionsItemNode {
|
||||
var canManage = false
|
||||
if channel.flags.contains(.isCreator) {
|
||||
canManage = true
|
||||
} else if channel.adminRights != nil {
|
||||
} else if channel.hasPermission(.pinMessages) {
|
||||
canManage = true
|
||||
} else if let threadInfo = threadInfo, threadInfo.isOwner {
|
||||
canManage = true
|
||||
|
||||
Reference in New Issue
Block a user