diff --git a/lib/widgets/chat_page/html/html.dart b/lib/widgets/chat_page/html/html.dart index dcb4e4f..5509869 100644 --- a/lib/widgets/chat_page/html/html.dart +++ b/lib/widgets/chat_page/html/html.dart @@ -41,7 +41,9 @@ class Html extends ConsumerWidget { ? InlineCustomWidget( child: ActionChip( label: Text( - element.text, + element.text + .replaceFirst("https://matrix.to/#/", "") + .replaceFirst("http://matrix.to/#/", ""), style: TextStyle( fontWeight: FontWeight.bold, color: Theme.of(context).colorScheme.onPrimary,