From 13d1685bff003f270ef082c207107ebc9957d6d0 Mon Sep 17 00:00:00 2001 From: ismailgulek Date: Fri, 13 Aug 2021 13:54:24 +0300 Subject: [PATCH 1/2] Remove Jitsi slider for DMs --- Riot/Modules/Room/RoomViewController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Riot/Modules/Room/RoomViewController.m b/Riot/Modules/Room/RoomViewController.m index 757f187e0c..c4a673bec6 100644 --- a/Riot/Modules/Room/RoomViewController.m +++ b/Riot/Modules/Room/RoomViewController.m @@ -5162,7 +5162,7 @@ - (void)refreshRemoveJitsiWidgetView { Widget *jitsiWidget = [customizedRoomDataSource jitsiWidget]; - if (jitsiWidget && self.canEditJitsiWidget) + if (jitsiWidget && self.canEditJitsiWidget && !self.roomDataSource.room.isDirect) { [self.removeJitsiWidgetView reset]; self.removeJitsiWidgetContainer.hidden = NO; From 73f594743e6e776aa4374805df509c105977c2dc Mon Sep 17 00:00:00 2001 From: ismailgulek Date: Fri, 13 Aug 2021 13:54:57 +0300 Subject: [PATCH 2/2] Add changelog --- changelog.d/4706.change | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/4706.change diff --git a/changelog.d/4706.change b/changelog.d/4706.change new file mode 100644 index 0000000000..e747fd2c6d --- /dev/null +++ b/changelog.d/4706.change @@ -0,0 +1 @@ +RoomViewController: Remove Jitsi slider on DMs.