Merge pull request #495 from mattermost/minor-post-change
If we don't have any posts for a channel, pull page rather than pulling latest
Этот коммит содержится в:
@@ -412,6 +412,11 @@ function getPosts(id) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (PostStore.getCurrentPosts() == null) {
|
||||
module.exports.getPostsPage(true, id, Constants.POST_CHUNK_SIZE);
|
||||
return;
|
||||
}
|
||||
|
||||
var latestUpdate = PostStore.getLatestUpdate(channelId);
|
||||
|
||||
callTracker['getPosts_' + channelId] = utils.getTimestamp();
|
||||
|
||||
Ссылка в новой задаче
Block a user