fix disappear after read not working for message sender

pull/941/head
ryanzhao 1 year ago
parent b78c13eafd
commit c969a8e012

@ -379,7 +379,7 @@ public struct Interaction: Codable, Identifiable, Equatable, FetchableRecord, Mu
disappearingMessagesConfiguration.isEnabled
{
self.expiresInSeconds = disappearingMessagesConfiguration.durationSeconds
if disappearingMessagesConfiguration.type == .disappearAfterSend {
if self.variant == .standardOutgoing || disappearingMessagesConfiguration.type == .disappearAfterSend {
self.expiresStartedAtMs = Double(self.timestampMs)
}
}

Loading…
Cancel
Save