From 898fc901541dec4faa00e164e2138e210225639e Mon Sep 17 00:00:00 2001 From: Naomi Plasterer Date: Thu, 15 Feb 2024 20:02:54 -0800 Subject: [PATCH] example app builds (#251) --- Sources/XMTPiOS/Conversations.swift | 2 +- XMTPiOSExample/XMTPiOSExample/Persistence.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/XMTPiOS/Conversations.swift b/Sources/XMTPiOS/Conversations.swift index 9dd113bc..e474d2b3 100644 --- a/Sources/XMTPiOS/Conversations.swift +++ b/Sources/XMTPiOS/Conversations.swift @@ -153,7 +153,7 @@ public actor Conversations { throw GroupError.memberNotRegistered(erroredAddresses) } - return try await v3Client.conversations().createGroup(accountAddresses: addresses).fromFFI(client: client) + return try await v3Client.conversations().createGroup(accountAddresses: addresses, permissions: nil).fromFFI(client: client) } /// Import a previously seen conversation. diff --git a/XMTPiOSExample/XMTPiOSExample/Persistence.swift b/XMTPiOSExample/XMTPiOSExample/Persistence.swift index ec5cea5d..bc46fbec 100644 --- a/XMTPiOSExample/XMTPiOSExample/Persistence.swift +++ b/XMTPiOSExample/XMTPiOSExample/Persistence.swift @@ -41,7 +41,7 @@ struct Persistence { } func save(conversation: Conversation) throws { - keychain[data: key(topic: conversation.topic)] = try JSONEncoder().encode(conversation.encodedContainer) +// keychain[data: key(topic: conversation.topic)] = try JSONEncoder().encode(conversation.encodedContainer) } func key(topic: String) -> String {