mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-18 04:08:44 +03:00
matching the other notifications and only alerting the group notifiation once
- fixes notification sounds coming through for every message despite only vibrating for the first
This commit is contained in:
parent
4f51dbdcf9
commit
b041876fa6
1 changed files with 1 additions and 0 deletions
|
@ -802,6 +802,7 @@ class NotificationUtils @Inject constructor(private val context: Context,
|
|||
|
||||
return NotificationCompat.Builder(context, if (noisy) NOISY_NOTIFICATION_CHANNEL_ID else SILENT_NOTIFICATION_CHANNEL_ID)
|
||||
// used in compat < N, after summary is built based on child notifications
|
||||
.setOnlyAlertOnce(true)
|
||||
.setWhen(lastMessageTimestamp)
|
||||
.setStyle(style)
|
||||
.setContentTitle(stringProvider.getString(R.string.app_name))
|
||||
|
|
Loading…
Add table
Reference in a new issue