Fix compilation issue after merging develop.
This commit is contained in:
parent
35e60efae2
commit
95f150852c
1 changed files with 1 additions and 1 deletions
|
|
@ -313,6 +313,7 @@ class DefaultNotificationCreator(
|
||||||
notificationAccountParams: NotificationAccountParams,
|
notificationAccountParams: NotificationAccountParams,
|
||||||
fallbackNotifiableEvents: List<FallbackNotifiableEvent>,
|
fallbackNotifiableEvents: List<FallbackNotifiableEvent>,
|
||||||
): Notification {
|
): Notification {
|
||||||
|
val fallbackNotifiableEvent = fallbackNotifiableEvents.first()
|
||||||
val channelId = notificationChannels.getChannelIdForMessage(
|
val channelId = notificationChannels.getChannelIdForMessage(
|
||||||
sessionId = fallbackNotifiableEvent.sessionId,
|
sessionId = fallbackNotifiableEvent.sessionId,
|
||||||
noisy = false,
|
noisy = false,
|
||||||
|
|
@ -322,7 +323,6 @@ class DefaultNotificationCreator(
|
||||||
?.getInt(FALLBACK_COUNTER_EXTRA)
|
?.getInt(FALLBACK_COUNTER_EXTRA)
|
||||||
?: 0
|
?: 0
|
||||||
val counter = existingCounter + fallbackNotifiableEvents.size
|
val counter = existingCounter + fallbackNotifiableEvents.size
|
||||||
val fallbackNotifiableEvent = fallbackNotifiableEvents.first()
|
|
||||||
return NotificationCompat.Builder(context, channelId)
|
return NotificationCompat.Builder(context, channelId)
|
||||||
.setOnlyAlertOnce(true)
|
.setOnlyAlertOnce(true)
|
||||||
.setContentTitle(buildMeta.applicationName.annotateForDebug(7))
|
.setContentTitle(buildMeta.applicationName.annotateForDebug(7))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue