chore: Revert push channel changes

This commit is contained in:
Krille 2022-12-31 15:14:34 +01:00
parent 7635104505
commit edfd8f36ab
1 changed files with 3 additions and 6 deletions

View File

@ -50,12 +50,9 @@ Future<void> pushHelper(
NotificationDetails( NotificationDetails(
iOS: const DarwinNotificationDetails(), iOS: const DarwinNotificationDetails(),
android: AndroidNotificationDetails( android: AndroidNotificationDetails(
notification.roomId ?? AppConfig.pushNotificationsChannelId, AppConfig.pushNotificationsChannelId,
notification.roomName ?? AppConfig.pushNotificationsChannelName, AppConfig.pushNotificationsChannelName,
channelDescription: notification.roomName ?? channelDescription: AppConfig.pushNotificationsChannelDescription,
AppConfig.pushNotificationsChannelDescription,
groupAlertBehavior: GroupAlertBehavior.summary,
category: AndroidNotificationCategory.message,
number: notification.counts?.unread, number: notification.counts?.unread,
ticker: l10n!.unreadChats(notification.counts?.unread ?? 1), ticker: l10n!.unreadChats(notification.counts?.unread ?? 1),
importance: Importance.max, importance: Importance.max,