diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-11-14 21:01:49 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-11-14 21:01:49 +0900 |
| commit | a3acd5ce9b6e621af2a673365e8a72cad0f01454 (patch) | |
| tree | caa9c5995a8751b74d9cc5f1c02b09fee0e6326b /src | |
| parent | v3099 (diff) | |
| download | sharkey-a3acd5ce9b6e621af2a673365e8a72cad0f01454.tar.gz sharkey-a3acd5ce9b6e621af2a673365e8a72cad0f01454.tar.bz2 sharkey-a3acd5ce9b6e621af2a673365e8a72cad0f01454.zip | |
Limit frequently replied users
Diffstat (limited to 'src')
| -rw-r--r-- | src/web/app/desktop/tags/user.tag | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/web/app/desktop/tags/user.tag b/src/web/app/desktop/tags/user.tag index 39426f421d..a8eb97234f 100644 --- a/src/web/app/desktop/tags/user.tag +++ b/src/web/app/desktop/tags/user.tag @@ -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), |