Various fixes

This commit is contained in:
Ilya Laktyushin
2022-11-07 17:34:04 +04:00
parent 5069754694
commit 6f08efd8ae
15 changed files with 186 additions and 142 deletions

View File

@@ -85,7 +85,11 @@ private func actionForPeer(peer: Peer, interfaceState: ChatPresentationInterface
if channel.flags.contains(.requestToJoin) {
return .applyToJoin
} else {
return .joinGroup
if channel.flags.contains(.isForum) {
return .join
} else {
return .joinGroup
}
}
} else {
return .join