summaryrefslogtreecommitdiffstats
path: root/web/react/utils/async_client.jsx
diff options
context:
space:
mode:
authorReed Garmsen <rgarmsen2295@gmail.com>2015-07-10 11:54:36 -0700
committerReed Garmsen <rgarmsen2295@gmail.com>2015-07-10 11:54:36 -0700
commit6f043c5b740c9bbc6e17b4ef79da1ed29fb96668 (patch)
treebeaf2e81120ab96773fa74eab4efe66a16179a07 /web/react/utils/async_client.jsx
parent2977467774d0162634ab669bf7b0e401bba2c2c4 (diff)
downloadchat-6f043c5b740c9bbc6e17b4ef79da1ed29fb96668.tar.gz
chat-6f043c5b740c9bbc6e17b4ef79da1ed29fb96668.tar.bz2
chat-6f043c5b740c9bbc6e17b4ef79da1ed29fb96668.zip
Final change to code affected by change to loading more channels logic
Diffstat (limited to 'web/react/utils/async_client.jsx')
-rw-r--r--web/react/utils/async_client.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/utils/async_client.jsx b/web/react/utils/async_client.jsx
index a2a6f8db7..6db2db2b1 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() || force) {
+ if (ChannelStore.getMoreAll().loading || force) {
callTracker["getMoreChannels"] = utils.getTimestamp();
client.getMoreChannels(