Limit frequently replied users
This commit is contained in:
		
							parent
							
								
									7a286512a2
								
							
						
					
					
						commit
						a3acd5ce9b
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -493,7 +493,8 @@
 | 
			
		|||
 | 
			
		||||
		this.on('mount', () => {
 | 
			
		||||
			this.api('users/get_frequently_replied_users', {
 | 
			
		||||
				user_id: this.user.id
 | 
			
		||||
				user_id: this.user.id,
 | 
			
		||||
				limit: 4
 | 
			
		||||
			}).then(docs => {
 | 
			
		||||
				this.update({
 | 
			
		||||
					users: docs.map(doc => doc.user),
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue