zulip / zulip-flutter

Future Zulip client using Flutter
Apache License 2.0
143 stars 117 forks source link

Better title group DMs in Android notifications #794

Open rajveermalviya opened 2 weeks ago

rajveermalviya commented 2 weeks ago

In group DMs, the Android notification's conversation title currently displays only the latest sender's display name, such as "from Greg Price with 1 other".

Instead, it should name the other recipients too, up to 3 names (and excluding self). Beyond that, it should name 3 of the members of the thread and use the "N others" form for the rest, as in "Alice, Bob, Carol, and 2 others".

The difficulty here is that while for the message's sender, the server includes their display name (and avatar URL), for the other recipients we have just their user IDs but no details like display names. There are two options for how we could handle this:

Corresponding zulip-mobile issue: https://github.com/zulip/zulip-mobile/issues/5116

gnprice commented 2 weeks ago

Thanks for filing this! I revised the description, including taking more text from https://github.com/zulip/zulip-mobile/issues/5116 .