android: connect plan (#3242)

This commit is contained in:
spaced4ndy
2023-10-18 16:58:33 +04:00
committed by GitHub
parent 706d6bf65b
commit 852e77b1d9
17 changed files with 512 additions and 176 deletions
-1
View File
@@ -594,7 +594,6 @@ func apiSetConnectionIncognito(connId: Int64, incognito: Bool) async throws -> P
}
func apiConnectPlan(connReq: String) async throws -> ConnectionPlan {
logger.error("apiConnectPlan connReq: \(connReq)")
let userId = try currentUserId("apiConnectPlan")
let r = await chatSendCmd(.apiConnectPlan(userId: userId, connReq: connReq))
if case let .connectionPlan(_, connectionPlan) = r { return connectionPlan }