mirror of
				https://github.com/vector-im/element-web.git
				synced 2025-11-04 10:11:03 +01:00 
			
		
		
		
	hmm, there were two things using the client :((
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
		
							parent
							
								
									1e09399dd6
								
							
						
					
					
						commit
						7db6f89a9f
					
				@ -435,7 +435,7 @@ export default class InviteDialog extends React.PureComponent {
 | 
			
		||||
        // room to see who has sent a message in the last few hours, and giving them a score
 | 
			
		||||
        // which correlates to the freshness of their message. In theory, this results in suggestions
 | 
			
		||||
        // which are closer to "continue this conversation" rather than "this person exists".
 | 
			
		||||
        const trueJoinedRooms = client.getRooms().filter(r => r.getMyMembership() === 'join');
 | 
			
		||||
        const trueJoinedRooms = MatrixClientPeg.get().getRooms().filter(r => r.getMyMembership() === 'join');
 | 
			
		||||
        const now = (new Date()).getTime();
 | 
			
		||||
        const earliestAgeConsidered = now - (60 * 60 * 1000); // 1 hour ago
 | 
			
		||||
        const maxMessagesConsidered = 50; // so we don't iterate over a huge amount of traffic
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user