diff --git a/CHANGELOG.md b/CHANGELOG.md index c8fd7a118..5c40156a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ * Fix process of upgrading from a very old version of the app * Show more recent added stickers at the top of the sticker picker * Allow to open links in messages via actions in TalkBack menu +* Allow to open map if user clicks "Location streaming enabled" system message ## v2.49.0 2026-04 diff --git a/src/main/java/org/thoughtcrime/securesms/ConversationFragment.java b/src/main/java/org/thoughtcrime/securesms/ConversationFragment.java index 6a7614ec1..a148d83bf 100644 --- a/src/main/java/org/thoughtcrime/securesms/ConversationFragment.java +++ b/src/main/java/org/thoughtcrime/securesms/ConversationFragment.java @@ -926,6 +926,8 @@ public class ConversationFragment extends MessageSelectorFragment { WebxdcActivity.openWebxdcActivity( getContext(), messageRecord.getParent(), messageRecord.getWebxdcHref()); } + } else if (messageRecord.getInfoType() == DcMsg.DC_INFO_LOCATIONSTREAMING_ENABLED) { + WebxdcActivity.openMaps(getContext(), (int) chatId); } else if (messageRecord.getInfoType() == DcMsg.DC_INFO_CHAT_DESCRIPTION_CHANGED) { Intent intent = new Intent(getContext(), ProfileActivity.class); intent.putExtra(ProfileActivity.CHAT_ID_EXTRA, (int) chatId);