diff --git a/lib/notifications/display.dart b/lib/notifications/display.dart index f2891c3d2a..b4fde9b9ba 100644 --- a/lib/notifications/display.dart +++ b/lib/notifications/display.dart @@ -96,7 +96,7 @@ class NotificationDisplayManager { FcmMessageStreamRecipient(:var streamName?, :var topic) => '$streamName > $topic', FcmMessageStreamRecipient(:var topic) => - '(unknown stream) > $topic', // TODO get stream name from data + '(unknown channel) > $topic', // TODO get stream name from data FcmMessageDmRecipient(:var allRecipientIds) when allRecipientIds.length > 2 => zulipLocalizations.notifGroupDmConversationLabel( data.senderFullName, allRecipientIds.length - 2), // TODO use others' names, from data diff --git a/test/notifications/display_test.dart b/test/notifications/display_test.dart index 9017fccba0..f46c00e576 100644 --- a/test/notifications/display_test.dart +++ b/test/notifications/display_test.dart @@ -166,7 +166,7 @@ void main() { final stream = eg.stream(); final message = eg.streamMessage(stream: stream); await checkNotifications(async, messageFcmMessage(message, streamName: null), - expectedTitle: '(unknown stream) > ${message.subject}', + expectedTitle: '(unknown channel) > ${message.subject}', expectedTagComponent: 'stream:${message.streamId}:${message.subject}'); }));