From f2b0cce282c84dd2f8dbcba22a57658d6771e706 Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Sun, 26 Jan 2020 21:16:01 +0000 Subject: [PATCH] Fix revoke permissions --- lib/components/list_items/participant_list_item.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/components/list_items/participant_list_item.dart b/lib/components/list_items/participant_list_item.dart index 0ad2cdb..bf60aaf 100644 --- a/lib/components/list_items/participant_list_item.dart +++ b/lib/components/list_items/participant_list_item.dart @@ -28,7 +28,7 @@ class ParticipantListItem extends StatelessWidget { await matrix.tryRequestWithLoadingDialog(user.setPower(100)); break; case "user": - await matrix.tryRequestWithLoadingDialog(user.setPower(100)); + await matrix.tryRequestWithLoadingDialog(user.setPower(0)); break; case "message": final String roomId = await user.startDirectChat();