Skip to content

Commit

Permalink
Update Sources/XMTPiOS/Conversation.swift
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
nplasterer and coderabbitai[bot] authored Oct 24, 2024
1 parent 307c5a4 commit ae5adf6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/XMTPiOS/Conversation.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

Expand Down

0 comments on commit ae5adf6

Please sign in to comment.