From ae5adf6b7c14420436e6e75de1570e74f1b236ce Mon Sep 17 00:00:00 2001 From: Naomi Plasterer Date: Thu, 24 Oct 2024 12:35:40 -0700 Subject: [PATCH] Update Sources/XMTPiOS/Conversation.swift Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- Sources/XMTPiOS/Conversation.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/XMTPiOS/Conversation.swift b/Sources/XMTPiOS/Conversation.swift index b3a4f3b1..f58a409b 100644 --- a/Sources/XMTPiOS/Conversation.swift +++ b/Sources/XMTPiOS/Conversation.swift @@ -130,9 +130,9 @@ public enum Conversation: Sendable { case .v2(_): throw ConversationError.v2NotSupported("prepareMessageV3 use prepareMessage instead") case let .group(group): - try await group.prepareMessage(content: content, options: options) + return try await group.prepareMessage(content: content, options: options) case let .dm(dm): - try await dm.prepareMessage(content: content, options: options) + return try await dm.prepareMessage(content: content, options: options) } }