Limit frequently replied users
This commit is contained in:
parent
7a286512a2
commit
a3acd5ce9b
|
@ -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),
|
||||||
|
|
Loading…
Reference in New Issue