diff --git a/Sources/XMTPiOS/Group.swift b/Sources/XMTPiOS/Group.swift index 6f43cbc1..5c57cf9a 100644 --- a/Sources/XMTPiOS/Group.swift +++ b/Sources/XMTPiOS/Group.swift @@ -473,15 +473,8 @@ public struct Group: Identifiable, Equatable, Hashable { options.direction = direction - let messages = try ffiGroup.findMessages(opts: options).compactMap { ffiMessage in + return try ffiGroup.findMessages(opts: options).compactMap { ffiMessage in return MessageV3(client: self.client, ffiMessage: ffiMessage).decryptOrNull() } - - switch direction { - case .ascending: - return messages - default: - return messages.reversed() - } } }