mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 12:05:22 +00: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 New Issue
Block a user