Skip to content

Commit

Permalink
fix: check for SelfDeleteKnock on knock sound inside conversation
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandreferris committed Sep 25, 2023
1 parent 5a731bc commit 4fa29b3
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,10 @@ class WireNotificationManager @Inject constructor(
.any {
it.conversationId == conversationId &&
it is LocalNotification.Conversation &&
it.messages.any { message -> message is LocalNotificationMessage.Knock }
it.messages.any { message ->
message is LocalNotificationMessage.Knock ||
message is LocalNotificationMessage.SelfDeleteKnock
}
}

if (containsPingMessage) {
Expand Down

0 comments on commit 4fa29b3

Please sign in to comment.