Fix compilation issue after merging develop.

This commit is contained in:
Benoit Marty
2026-02-13 16:44:42 +01:00
parent c1f3233dce
commit d2ca80e7e8

View File

@@ -313,6 +313,7 @@ class DefaultNotificationCreator(
notificationAccountParams: NotificationAccountParams,
fallbackNotifiableEvents: List<FallbackNotifiableEvent>,
): Notification {
val fallbackNotifiableEvent = fallbackNotifiableEvents.first()
val channelId = notificationChannels.getChannelIdForMessage(
sessionId = fallbackNotifiableEvent.sessionId,
noisy = false,
@@ -322,7 +323,6 @@ class DefaultNotificationCreator(
?.getInt(FALLBACK_COUNTER_EXTRA)
?: 0
val counter = existingCounter + fallbackNotifiableEvents.size
val fallbackNotifiableEvent = fallbackNotifiableEvents.first()
return NotificationCompat.Builder(context, channelId)
.setOnlyAlertOnce(true)
.setContentTitle(buildMeta.applicationName.annotateForDebug(7))