diff --git a/Sources/XMTPiOS/Group.swift b/Sources/XMTPiOS/Group.swift index e0af35d7..4ee5a601 100644 --- a/Sources/XMTPiOS/Group.swift +++ b/Sources/XMTPiOS/Group.swift @@ -186,11 +186,11 @@ public struct Group: Identifiable, Equatable, Hashable { var options = FfiListMessagesOptions(sentBeforeNs: nil, sentAfterNs: nil, limit: nil) if let before { - options.sentBeforeNs = Int64(before.millisecondsSinceEpoch) + options.sentBeforeNs = Int64(before.millisecondsSinceEpoch * 1_000_000) } if let after { - options.sentAfterNs = Int64(after.millisecondsSinceEpoch) + options.sentAfterNs = Int64(after.millisecondsSinceEpoch * 1_000_000) } if let limit { @@ -213,11 +213,11 @@ public struct Group: Identifiable, Equatable, Hashable { var options = FfiListMessagesOptions(sentBeforeNs: nil, sentAfterNs: nil, limit: nil) if let before { - options.sentBeforeNs = Int64(before.millisecondsSinceEpoch) + options.sentBeforeNs = Int64(before.millisecondsSinceEpoch * 1_000_000) } if let after { - options.sentAfterNs = Int64(after.millisecondsSinceEpoch) + options.sentAfterNs = Int64(after.millisecondsSinceEpoch * 1_000_000) } if let limit { diff --git a/XMTP.podspec b/XMTP.podspec index 2ef64b0b..415352db 100644 --- a/XMTP.podspec +++ b/XMTP.podspec @@ -16,7 +16,7 @@ Pod::Spec.new do |spec| # spec.name = "XMTP" - spec.version = "0.8.11" + spec.version = "0.8.12" spec.summary = "XMTP SDK Cocoapod" # This description is used to generate tags and improve search results.