mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-30 19:13:09 +02:00
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.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 a new issue