mirror of
				https://gitlab.com/famedly/fluffychat.git
				synced 2025-11-04 06:17:26 +01:00 
			
		
		
		
	fix: Dont show random users in top bar
This commit is contained in:
		
							parent
							
								
									ec64cf6232
								
							
						
					
					
						commit
						54e268b81b
					
				@ -19,13 +19,6 @@ extension ClientPresenceExtension on Client {
 | 
			
		||||
              ),
 | 
			
		||||
        )
 | 
			
		||||
        .toList();
 | 
			
		||||
    contactList.addAll(
 | 
			
		||||
      presences.values
 | 
			
		||||
          .where((p) =>
 | 
			
		||||
              !directChatsMxid.contains(p.senderId) &&
 | 
			
		||||
              (p.presence?.statusMsg?.isNotEmpty ?? false))
 | 
			
		||||
          .toList(),
 | 
			
		||||
    );
 | 
			
		||||
 | 
			
		||||
    contactList.sort((a, b) => a.senderId.compareTo(b.senderId));
 | 
			
		||||
    contactList.sort((a, b) => (a.presence.lastActiveAgo?.toDouble() ??
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user