Limit frequently replied users

This commit is contained in:
syuilo 2017-11-14 21:01:49 +09:00
parent 7a286512a2
commit a3acd5ce9b
1 changed files with 2 additions and 1 deletions

View File

@ -493,7 +493,8 @@
this.on('mount', () => { this.on('mount', () => {
this.api('users/get_frequently_replied_users', { this.api('users/get_frequently_replied_users', {
user_id: this.user.id user_id: this.user.id,
limit: 4
}).then(docs => { }).then(docs => {
this.update({ this.update({
users: docs.map(doc => doc.user), users: docs.map(doc => doc.user),