diff --git a/lib/pages/chat/chat.dart b/lib/pages/chat/chat.dart index 941b9c02f..d595e7a0f 100644 --- a/lib/pages/chat/chat.dart +++ b/lib/pages/chat/chat.dart @@ -742,7 +742,7 @@ class ChatController extends State if (reason == null || reason.isEmpty) return; final result = await showFutureLoadingDialog( context: context, - future: () => Matrix.of(context).client.reportContent( + future: () => Matrix.of(context).client.reportEvent( event.roomId!, event.eventId, reason: reason, diff --git a/lib/pages/settings_homeserver/settings_homeserver_view.dart b/lib/pages/settings_homeserver/settings_homeserver_view.dart index 792d6093e..59ee61c96 100644 --- a/lib/pages/settings_homeserver/settings_homeserver_view.dart +++ b/lib/pages/settings_homeserver/settings_homeserver_view.dart @@ -88,7 +88,7 @@ class SettingsHomeserverView extends StatelessWidget { if (supportPage != null) ListTile( title: Text(L10n.of(context).supportPage), - subtitle: Text(supportPage), + subtitle: Text(supportPage.toString()), ), if (contacts != null) ...contacts.map( diff --git a/lib/pages/user_bottom_sheet/user_bottom_sheet.dart b/lib/pages/user_bottom_sheet/user_bottom_sheet.dart index c4c04bf57..e99d21c0b 100644 --- a/lib/pages/user_bottom_sheet/user_bottom_sheet.dart +++ b/lib/pages/user_bottom_sheet/user_bottom_sheet.dart @@ -131,7 +131,7 @@ class UserBottomSheetController extends State { final result = await showFutureLoadingDialog( context: context, - future: () => Matrix.of(widget.outerContext).client.reportContent( + future: () => Matrix.of(widget.outerContext).client.reportEvent( user.room.id, user.id, reason: reason, diff --git a/pubspec.lock b/pubspec.lock index 11096eaf5..fb685e050 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -1159,7 +1159,7 @@ packages: description: path: "." ref: HEAD - resolved-ref: "928f6ba96f259ab586ccfeb6c1674aa61ea6d16a" + resolved-ref: a069589c7756c4987e66124b149cc53e1d3c05fd url: "https://github.com/famedly/matrix-dart-sdk.git" source: git version: "0.36.0"