mirror of
https://github.com/oxen-io/session-android.git
synced 2023-12-14 02:53:01 +01:00
Fix note-to-self not disappearing
This commit is contained in:
parent
0c9d050ef6
commit
14938d2cc0
|
@ -415,7 +415,7 @@ object MessageSender {
|
|||
storage.markAsSent(message.sentTimestamp!!, userPublicKey)
|
||||
storage.markUnidentified(message.sentTimestamp!!, userPublicKey)
|
||||
// Start the disappearing messages timer if needed
|
||||
if (!isSyncMessage) {
|
||||
if (message.recipient == userPublicKey || !isSyncMessage) {
|
||||
SSKEnvironment.shared.messageExpirationManager.startAnyExpiration(message.sentTimestamp!!, userPublicKey, System.currentTimeMillis())
|
||||
}
|
||||
} ?: run {
|
||||
|
|
Loading…
Reference in a new issue