feat: Open im.fluffychat urls

This commit is contained in:
Krille Fear 2021-11-21 13:58:19 +01:00
commit 7a68feb5eb
3 changed files with 8 additions and 0 deletions

View file

@ -129,6 +129,7 @@ class ChatListController extends State<ChatList> {
void _processIncomingUris(String text) async {
if (text == null) return;
VRouter.of(context).to('/rooms');
text = text.replaceFirst('im.fluffychat://', 'matrix:');
UrlLauncher(context, text).openMatrixToUrl();
return;
}