diff --git a/lib/pages/chat_list/chat_list.dart b/lib/pages/chat_list/chat_list.dart index 6fe5420b..18e9b3bf 100644 --- a/lib/pages/chat_list/chat_list.dart +++ b/lib/pages/chat_list/chat_list.dart @@ -115,10 +115,11 @@ class ChatListController extends State { void _processIncomingSharedText(String text) { if (text == null) return; VRouter.of(context).to('/rooms'); - if (text.toLowerCase().startsWith(AppConfig.inviteLinkPrefix) || + if (text.toLowerCase().startsWith(AppConfig.deepLinkPrefix) || + text.toLowerCase().startsWith(AppConfig.inviteLinkPrefix) || (text.toLowerCase().startsWith(AppConfig.schemePrefix) && !RegExp(r'\s').hasMatch(text))) { - return; + return _processIncomingUris(text); } Matrix.of(context).shareContent = { 'msgtype': 'm.text',