Closed
Description
We use Android's "inbox style" notifications (this was #128 / PR #718) to group notifications by conversation.
For channel messages, this means grouping messages by topic. Topics in Zulip are meant to be case-insensitive, so we should ignore case for that grouping. For example, messages with the topic "move to Zulip" or the topic "move to zulip" should all be grouped together.1
Other issues where we should be treating topics case-insensitively but we're not:
See our notification-display code for getting a message's "conversation key". It just takes the topic literally without normalizing it by case:
static String _conversationKey(MessageFcmMessage data, String groupKey) {
final conversation = switch (data.recipient) {
FcmMessageChannelRecipient(:var streamId, :var topic) => 'stream:$streamId:$topic',
FcmMessageDmRecipient(:var allRecipientIds) => 'dm:${allRecipientIds.join(',')}',
};
return '$groupKey|$conversation';
}
Footnotes
Metadata
Metadata
Assignees
Type
Projects
Status
Done