mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
[WIP] Topics
This commit is contained in:
@@ -1216,7 +1216,7 @@ func peerInfoCanEdit(peer: Peer?, threadData: MessageHistoryThreadData?, cachedD
|
||||
return true
|
||||
} else if let threadData = threadData, threadData.isOwnedByMe {
|
||||
return true
|
||||
} else if let _ = peer.adminRights {
|
||||
} else if peer.hasPermission(.manageTopics) {
|
||||
return true
|
||||
} else {
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user