mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-11 18:57:42 +00:00
Fix notification update for incoming unsend request
This commit is contained in:
@@ -238,7 +238,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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user