- remove debug code [skip ci]

This commit is contained in:
overtake 2020-01-17 18:32:44 +04:00
parent 7ab49435b7
commit 29ccc363e9

View File

@ -28,9 +28,6 @@ public enum ExternalJoiningChatState {
}
public func joinChatInteractively(with hash: String, account: Account) -> Signal <PeerId?, JoinLinkError> {
#if DEBUG
return .fail(.tooMuchJoined)
#endif
return account.network.request(Api.functions.messages.importChatInvite(hash: hash))
|> mapError { error -> JoinLinkError in
if error.errorDescription == "CHANNELS_TOO_MUCH" {