mirror of
				https://github.com/vector-im/element-web.git
				synced 2025-10-31 16:21:46 +01:00 
			
		
		
		
	fix getDMRoomsForUserId not calling _getUserToRooms first (thanks e2e tests)
This commit is contained in:
		
							parent
							
								
									44a53cfc0d
								
							
						
					
					
						commit
						3b29b7aab6
					
				| @ -119,7 +119,7 @@ export default class DMRoomMap { | |||||||
|     getDMRoomsForUserId(userId) { |     getDMRoomsForUserId(userId) { | ||||||
|         // Here, we return the empty list if there are no rooms,
 |         // Here, we return the empty list if there are no rooms,
 | ||||||
|         // since the number of conversations you have with this user is zero.
 |         // since the number of conversations you have with this user is zero.
 | ||||||
|         return this.userToRooms[userId] || []; |         return this._getUserToRooms()[userId] || []; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     getUserIdForRoomId(roomId) { |     getUserIdForRoomId(roomId) { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user