summaryrefslogtreecommitdiffstats
path: root/web/react/stores/post_store.jsx
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-02-08 12:56:36 -0500
committerChristopher Speller <crspeller@gmail.com>2016-02-08 12:56:36 -0500
commit0fcb4252c8f873f5c28c08fc600368cf8d1fe6a8 (patch)
treee2506f66379ba6b3bd93b3753c2064332eb3fd55 /web/react/stores/post_store.jsx
parentb6300b1656506b3ce264c8844dd11865ca61d391 (diff)
parent2af861423619271651e01f1bb879c6e5f189f241 (diff)
downloadchat-0fcb4252c8f873f5c28c08fc600368cf8d1fe6a8.tar.gz
chat-0fcb4252c8f873f5c28c08fc600368cf8d1fe6a8.tar.bz2
chat-0fcb4252c8f873f5c28c08fc600368cf8d1fe6a8.zip
Merge pull request #2101 from hmhealey/plt1415
PLT-1415 Renamed RECIEVED_* to RECEIVED_*
Diffstat (limited to 'web/react/stores/post_store.jsx')
-rw-r--r--web/react/stores/post_store.jsx10
1 files changed, 5 insertions, 5 deletions
diff --git a/web/react/stores/post_store.jsx b/web/react/stores/post_store.jsx
index 8ff58f685..b0f421b60 100644
--- a/web/react/stores/post_store.jsx
+++ b/web/react/stores/post_store.jsx
@@ -540,23 +540,23 @@ PostStore.dispatchToken = AppDispatcher.register((payload) => {
var action = payload.action;
switch (action.type) {
- case ActionTypes.RECIEVED_POSTS: {
+ case ActionTypes.RECEIVED_POSTS: {
const id = PostStore.currentFocusedPostId == null ? action.id : PostStore.currentFocusedPostId;
PostStore.checkBounds(id, action.numRequested, makePostListNonNull(action.post_list), action.before);
PostStore.storePosts(id, makePostListNonNull(action.post_list));
PostStore.emitChange();
break;
}
- case ActionTypes.RECIEVED_FOCUSED_POST:
+ case ActionTypes.RECEIVED_FOCUSED_POST:
PostStore.clearChannelVisibility(action.postId, false);
PostStore.storeFocusedPost(action.postId, makePostListNonNull(action.post_list));
PostStore.emitChange();
break;
- case ActionTypes.RECIEVED_POST:
+ case ActionTypes.RECEIVED_POST:
PostStore.storePost(action.post);
PostStore.emitChange();
break;
- case ActionTypes.RECIEVED_EDIT_POST:
+ case ActionTypes.RECEIVED_EDIT_POST:
PostStore.emitEditPost(action);
PostStore.emitChange();
break;
@@ -577,7 +577,7 @@ PostStore.dispatchToken = AppDispatcher.register((payload) => {
PostStore.removePost(action.post);
PostStore.emitChange();
break;
- case ActionTypes.RECIEVED_POST_SELECTED:
+ case ActionTypes.RECEIVED_POST_SELECTED:
PostStore.storeSelectedPost(action.post_list);
PostStore.emitSelectedPostChange(action.from_search);
break;