fix: Dont add/remove DMs to space
This commit is contained in:
parent
9772d1bac9
commit
04a092aefd
1 changed files with 6 additions and 1 deletions
|
|
@ -57,7 +57,12 @@ class ChatListView extends StatelessWidget {
|
|||
: selectMode == SelectMode.select
|
||||
? [
|
||||
if (controller.selectedRoomIds.length == 1 &&
|
||||
controller.spaces.isNotEmpty)
|
||||
controller.spaces.isNotEmpty &&
|
||||
!Matrix.of(context)
|
||||
.client
|
||||
.getRoomById(
|
||||
controller.selectedRoomIds.single)
|
||||
.isDirectChat)
|
||||
IconButton(
|
||||
tooltip: L10n.of(context).addToSpace,
|
||||
icon: Icon(Icons.group_work_outlined),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue