diff options
author | Asaad Mahmood <Unknowngi@live.com> | 2015-07-08 22:40:28 +0500 |
---|---|---|
committer | Asaad Mahmood <Unknowngi@live.com> | 2015-07-08 22:40:28 +0500 |
commit | 235beeb82926abd79f032cecb5f7ddbb4ff72f8b (patch) | |
tree | 2a74b8dbfc9046d98064b3787e93b4624389464c /web/react/utils | |
parent | 689692b22db1f746d23b6ceb5f7892227c5efb1e (diff) | |
parent | c721a3deace26222d96f3b6e1dcba9efba803997 (diff) | |
download | chat-235beeb82926abd79f032cecb5f7ddbb4ff72f8b.tar.gz chat-235beeb82926abd79f032cecb5f7ddbb4ff72f8b.tar.bz2 chat-235beeb82926abd79f032cecb5f7ddbb4ff72f8b.zip |
Merge branch 'master' of https://github.com/asaadmahmoodspin/platform
Diffstat (limited to 'web/react/utils')
-rw-r--r-- | web/react/utils/async_client.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/utils/async_client.jsx b/web/react/utils/async_client.jsx index 9383057c3..a2a6f8db7 100644 --- a/web/react/utils/async_client.jsx +++ b/web/react/utils/async_client.jsx @@ -104,7 +104,7 @@ module.exports.updateLastViewedAt = function() { module.exports.getMoreChannels = function(force) { if (isCallInProgress("getMoreChannels")) return; - if (ChannelStore.getMoreAll().length == 0 || force) { + if (!ChannelStore.getMoreAll() || force) { callTracker["getMoreChannels"] = utils.getTimestamp(); client.getMoreChannels( |