Update API

This commit is contained in:
Ilya Laktyushin
2023-11-09 02:15:50 +04:00
parent 57e0533a8a
commit 145c674185
8 changed files with 194 additions and 1 deletions

View File

@@ -77,6 +77,11 @@ func _internal_joinChannel(account: Account, peerId: PeerId, hash: String?) -> S
|> castError(JoinChannelError.self)
}
}
|> afterCompleted {
if hash == nil {
let _ = _internal_requestRecommendedChannels(account: account, peerId: peerId).startStandalone()
}
}
} else {
return .fail(.generic)
}