Skip to content

Commit

Permalink
Merge pull request #1336 from bemusementpark/unsend-notification
Browse files Browse the repository at this point in the history
Fix notification update for incoming unsend request
  • Loading branch information
ThomasSession authored Jun 20, 2024
2 parents d3c4e11 + 3773f4f commit 32cc6df
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ fun MessageReceiver.handleUnsendRequest(message: UnsendRequest): Long? {
SnodeAPI.deleteMessage(author, listOf(serverHash))
}
val deletedMessageId = messageDataProvider.updateMessageAsDeleted(timestamp, author)
if (!messageDataProvider.isOutgoingMessage(messageIdToDelete)) {
if (!messageDataProvider.isOutgoingMessage(timestamp)) {
SSKEnvironment.shared.notificationManager.updateNotification(context)
}

Expand Down

0 comments on commit 32cc6df

Please sign in to comment.