From 7631c7ac9f5387c8b7936f66036773382f439ded Mon Sep 17 00:00:00 2001 From: Nikita Fedrunov <66663241+fedrunov@users.noreply.github.com> Date: Wed, 14 Sep 2022 22:54:40 +0200 Subject: [PATCH] room leaving prompt dialog now waits user to confirm leaving before do so (#7124) --- changelog.d/7122.bugfix | 1 + .../app/features/home/room/list/home/HomeRoomListFragment.kt | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 changelog.d/7122.bugfix diff --git a/changelog.d/7122.bugfix b/changelog.d/7122.bugfix new file mode 100644 index 0000000000..f088eed4b0 --- /dev/null +++ b/changelog.d/7122.bugfix @@ -0,0 +1 @@ +[App Layout] Room leaving prompt dialog now waits user to confirm leaving before do so diff --git a/vector/src/main/java/im/vector/app/features/home/room/list/home/HomeRoomListFragment.kt b/vector/src/main/java/im/vector/app/features/home/room/list/home/HomeRoomListFragment.kt index a4738a550c..4ae2c7d514 100644 --- a/vector/src/main/java/im/vector/app/features/home/room/list/home/HomeRoomListFragment.kt +++ b/vector/src/main/java/im/vector/app/features/home/room/list/home/HomeRoomListFragment.kt @@ -123,7 +123,6 @@ class HomeRoomListFragment : roomListViewModel.handle(HomeRoomListAction.ToggleTag(quickAction.roomId, RoomTag.ROOM_TAG_LOW_PRIORITY)) } is RoomListQuickActionsSharedAction.Leave -> { - roomListViewModel.handle(HomeRoomListAction.LeaveRoom(quickAction.roomId)) promptLeaveRoom(quickAction.roomId) } }