mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-30 13:35:18 +00:00
Merge pull request #1336 from bemusementpark/unsend-notification
Fix notification update for incoming unsend request
This commit is contained in:
commit
32cc6df81b
@ -260,7 +260,7 @@ fun MessageReceiver.handleUnsendRequest(message: UnsendRequest): Long? {
|
|||||||
SnodeAPI.deleteMessage(author, listOf(serverHash))
|
SnodeAPI.deleteMessage(author, listOf(serverHash))
|
||||||
}
|
}
|
||||||
val deletedMessageId = messageDataProvider.updateMessageAsDeleted(timestamp, author)
|
val deletedMessageId = messageDataProvider.updateMessageAsDeleted(timestamp, author)
|
||||||
if (!messageDataProvider.isOutgoingMessage(messageIdToDelete)) {
|
if (!messageDataProvider.isOutgoingMessage(timestamp)) {
|
||||||
SSKEnvironment.shared.notificationManager.updateNotification(context)
|
SSKEnvironment.shared.notificationManager.updateNotification(context)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user