mirror of
				https://gitlab.com/famedly/fluffychat.git
				synced 2025-11-04 06:17:26 +01:00 
			
		
		
		
	fix: Dont add/remove DMs to space
This commit is contained in:
		
							parent
							
								
									5e2380816b
								
							
						
					
					
						commit
						e6358996e6
					
				@ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user