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:
@@ -932,7 +932,7 @@ func canEditPeerInfo(context: AccountContext, peer: Peer?, threadData: MessageHi
|
||||
}
|
||||
if let channel = peer as? TelegramChannel {
|
||||
if let threadData = threadData {
|
||||
if channel.hasPermission(.pinMessages) {
|
||||
if channel.hasPermission(.manageTopics) {
|
||||
return true
|
||||
}
|
||||
if threadData.author == context.account.peerId {
|
||||
|
||||
Reference in New Issue
Block a user