ios: create group with profile image (#849)

* ios: create group with profile image

* update libs
This commit is contained in:
Evgeny Poberezkin
2022-07-28 11:49:36 +01:00
committed by GitHub
parent 7b9164f95a
commit ee6f6462cf
7 changed files with 108 additions and 57 deletions
+2 -2
View File
@@ -559,8 +559,8 @@ private func sendCommandOkResp(_ cmd: ChatCommand) async throws {
throw r
}
func apiNewGroup(_ gp: GroupProfile) throws -> GroupInfo {
let r = chatSendCmdSync(.newGroup(groupProfile: gp))
func apiNewGroup(_ p: GroupProfile) throws -> GroupInfo {
let r = chatSendCmdSync(.newGroup(groupProfile: p))
if case let .groupCreated(groupInfo) = r { return groupInfo }
throw r
}