refactor: Put forwarded text into inputfield instead of sending directly

This commit is contained in:
Krille 2024-01-03 13:37:36 +01:00
commit fec39eb602
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
3 changed files with 17 additions and 4 deletions

View file

@ -283,7 +283,10 @@ abstract class AppRoutes {
path: ':roomid',
pageBuilder: (context, state) => defaultPageBuilder(
context,
ChatPage(roomId: state.pathParameters['roomid']!),
ChatPage(
roomId: state.pathParameters['roomid']!,
shareText: state.uri.queryParameters['body'],
),
),
redirect: loggedOutRedirect,
routes: [