From de658d613eb9094de0d9d4a0b660a1c7af314be6 Mon Sep 17 00:00:00 2001 From: Dariusz Rybicki <dariusz@elixxir.io> Date: Wed, 14 Sep 2022 20:58:23 +0200 Subject: [PATCH] Update GroupChatJoinGroup function --- .../XXClient/GroupChat/Functions/GroupChatJoinGroup.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/XXClient/GroupChat/Functions/GroupChatJoinGroup.swift b/Sources/XXClient/GroupChat/Functions/GroupChatJoinGroup.swift index a6916039..bd2185c7 100644 --- a/Sources/XXClient/GroupChat/Functions/GroupChatJoinGroup.swift +++ b/Sources/XXClient/GroupChat/Functions/GroupChatJoinGroup.swift @@ -2,10 +2,10 @@ import Bindings import XCTestDynamicOverlay public struct GroupChatJoinGroup { - public var run: (Int) throws -> Void + public var run: (Data) throws -> Void - public func callAsFunction(trackedGroupId: Int) throws { - try run(trackedGroupId) + public func callAsFunction(serializedGroupData: Data) throws { + try run(serializedGroupData) } } -- GitLab