Make the notification silent when the message is an outgoing message (quick reply).

The boolean isUpdated will be passed to setOnlyAlertOnce(), and when the value is true, the notification does not ring/vibrate again.
This commit is contained in:
Benoit Marty 2025-12-30 16:46:32 +01:00
parent 3973616f3e
commit 7576a978e0

View file

@ -75,7 +75,7 @@ class DefaultRoomGroupMessageCreator(
hasSmartReplyError = smartReplyErrors.isNotEmpty(),
shouldBing = events.any { it.noisy },
customSound = events.last().soundName,
isUpdated = events.last().isUpdated,
isUpdated = events.last().let { it.isUpdated || it.outGoingMessage },
),
threadId = threadId,
largeIcon = largeBitmap,