Disappear after read info refactor

This commit is contained in:
charles
2022-12-22 14:18:40 +11:00
parent f600e4d343
commit 03766d57ee
5 changed files with 27 additions and 30 deletions

View File

@@ -380,7 +380,7 @@ object MessageSender {
storage.markAsSent(message.sentTimestamp!!, userPublicKey)
storage.markUnidentified(message.sentTimestamp!!, userPublicKey)
// Start the disappearing messages timer if needed
if (message is VisibleMessage && !isSyncMessage) {
if (!isSyncMessage) {
SSKEnvironment.shared.messageExpirationManager.startAnyExpiration(message.sentTimestamp!!, userPublicKey, System.currentTimeMillis())
}
} ?: run {