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:
parent
aa4b10e53a
commit
d524cd4a74
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue