mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
[WIP] Post suggestion
This commit is contained in:
@@ -430,7 +430,7 @@ public final class ChatLoadingPlaceholderNode: ASDisplayNode {
|
||||
chatType = .group
|
||||
} else if let channel = peer as? TelegramChannel {
|
||||
if channel.isMonoForum {
|
||||
if let mainChannel = renderedPeer?.chatOrMonoforumMainPeer as? TelegramChannel, mainChannel.hasPermission(.sendSomething) {
|
||||
if let mainChannel = renderedPeer?.chatOrMonoforumMainPeer as? TelegramChannel, mainChannel.hasPermission(.manageDirect) {
|
||||
if chatLocation.threadId == nil {
|
||||
chatType = .group
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user