From ce3e4d95b55a2025b1cddd48d29291612ede88fe Mon Sep 17 00:00:00 2001 From: Naomi Plasterer Date: Tue, 13 Feb 2024 10:52:48 -0800 Subject: [PATCH] fix the crash --- ios/Wrappers/GroupWrapper.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/Wrappers/GroupWrapper.swift b/ios/Wrappers/GroupWrapper.swift index 0d116b26f..224f01ddd 100644 --- a/ios/Wrappers/GroupWrapper.swift +++ b/ios/Wrappers/GroupWrapper.swift @@ -13,7 +13,7 @@ struct GroupWrapper { static func encodeToObj(_ group: XMTP.Group, client: XMTP.Client) throws -> [String: Any] { return [ "clientAddress": client.address, - "id": group.id, + "id": group.id.toHex, "createdAt": UInt64(group.createdAt.timeIntervalSince1970 * 1000), "peerAddresses": group.memberAddresses, ]