Summarize location, image and GIF messages in notifications

Notification bodies now use the chat's parsers to show a localized
summary for shared locations (m: markers), channel images, GIFs and
reactions instead of the raw payload. The marker parser moves out of the
map screen into helpers/marker_message.dart so the service can use it.
This commit is contained in:
zjs81 committed 2026-10-24 21:01:06 -07:00
1 parent ed5884e252
commit caf20b4415
28 files changed
+575 -36

No files matched your search

+30
View File
@@ -8138,6 +8138,36 @@ abstract class AppLocalizations {
/// **'Received new message'**
String get notification_receivedNewMessage;
/// No description provided for @notification_sharedLocation.
///
/// In en, this message translates to:
/// **'Shared a location'**
String get notification_sharedLocation;
/// No description provided for @notification_sharedLocationNamed.
///
/// In en, this message translates to:
/// **'Shared a location: {label}'**
String notification_sharedLocationNamed(String label);
/// No description provided for @notification_reacted.
///
/// In en, this message translates to:
/// **'Reacted {emoji}'**
String notification_reacted(String emoji);
/// No description provided for @notification_sentGif.
///
/// In en, this message translates to:
/// **'Sent a GIF'**
String get notification_sentGif;
/// No description provided for @notification_sentImage.
///
/// In en, this message translates to:
/// **'Sent an image'**
String get notification_sentImage;
/// No description provided for @notification_actionReply.
///
/// In en, this message translates to: