summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-11-14 21:01:49 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-11-14 21:01:49 +0900
commita3acd5ce9b6e621af2a673365e8a72cad0f01454 (patch)
treecaa9c5995a8751b74d9cc5f1c02b09fee0e6326b /src
parentv3099 (diff)
downloadsharkey-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.tag3
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),