mirror of
				https://gitlab.com/famedly/fluffychat.git
				synced 2025-11-04 14:27:23 +01:00 
			
		
		
		
	fix: Add missing null check
This commit is contained in:
		
							parent
							
								
									d6728783a2
								
							
						
					
					
						commit
						ac7ee03bd9
					
				@ -200,6 +200,7 @@ class ChatListController extends State<ChatList> {
 | 
			
		||||
        return true;
 | 
			
		||||
      }
 | 
			
		||||
      if (room.isDirectChat &&
 | 
			
		||||
          room.summary?.mHeroes != null &&
 | 
			
		||||
          room.summary.mHeroes.any((userId) {
 | 
			
		||||
            final user = space.getState(EventTypes.RoomMember, userId)?.asUser;
 | 
			
		||||
            return user != null && user.membership == Membership.join;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user