diff options
author | Corey Hulen <corey@hulen.com> | 2015-08-02 08:59:07 -0800 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2015-08-02 08:59:07 -0800 |
commit | 1f417368adf044baa9c6b6a24fe919bf5235346f (patch) | |
tree | 5e947ffb08912ba1d7324df85d4a506454b29397 /web/react/utils/utils.jsx | |
parent | 41f96636d6a92f622518271f9ea7dd66c8c84e47 (diff) | |
parent | 0c627913f775044b382f9bc115244e4eb40f4833 (diff) | |
download | chat-1f417368adf044baa9c6b6a24fe919bf5235346f.tar.gz chat-1f417368adf044baa9c6b6a24fe919bf5235346f.tar.bz2 chat-1f417368adf044baa9c6b6a24fe919bf5235346f.zip |
Merge pull request #276 from mattermost/mm-1688
MM-1688 reset number of posts to fetch on channel switch and fresh page load
Diffstat (limited to 'web/react/utils/utils.jsx')
-rw-r--r-- | web/react/utils/utils.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/utils/utils.jsx b/web/react/utils/utils.jsx index 09240bf06..a759cc579 100644 --- a/web/react/utils/utils.jsx +++ b/web/react/utils/utils.jsx @@ -750,7 +750,7 @@ module.exports.switchChannel = function(channel, teammate_name) { AsyncClient.getChannels(true, true, true); AsyncClient.getChannelExtraInfo(true); - AsyncClient.getPosts(true, channel.id); + AsyncClient.getPosts(true, channel.id, Constants.POST_CHUNK_SIZE); $('.inner__wrap').removeClass('move--right'); $('.sidebar--left').removeClass('move--right'); |