diff options
Diffstat (limited to 'public/assets/js/lib/views/stream/hootstream.js')
| -rw-r--r-- | public/assets/js/lib/views/stream/hootstream.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/public/assets/js/lib/views/stream/hootstream.js b/public/assets/js/lib/views/stream/hootstream.js index 4be70bd..dd64aa4 100644 --- a/public/assets/js/lib/views/stream/hootstream.js +++ b/public/assets/js/lib/views/stream/hootstream.js @@ -205,7 +205,12 @@ var HootStream = View.extend({ "hoot", hoot, ]), - ...lastlog.map((user) => [1, user.lastseen, "lastlog", user]), + ...(query.has_query ? [] : lastlog).map((user) => [ + 1, + user.lastseen, + "lastlog", + user, + ]), ] .sort((a, b) => b[1] - a[1]) .reduce( |
