* Replace 'recieve' with 'receive'
Этот коммит содержится в:
Robin Naundorf
2017-02-13 16:29:54 +01:00
коммит произвёл George Goldberg
родитель ff741740ee
Коммит 54c699b7ca
2 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@@ -29,7 +29,7 @@ class NotificationStoreClass extends EventEmitter {
this.inFocus = focus;
}
handleRecievedPost(post, msgProps) {
handleReceivedPost(post, msgProps) {
// Send desktop notification
if ((UserStore.getCurrentId() !== post.user_id || post.props.from_webhook === 'true')) {
if (PostUtils.isSystemMessage(post)) {
@@ -129,7 +129,7 @@ NotificationStore.dispatchToken = AppDispatcher.register((payload) => {
switch (action.type) {
case ActionTypes.RECEIVED_POST:
NotificationStore.handleRecievedPost(action.post, action.websocketMessageProps);
NotificationStore.handleReceivedPost(action.post, action.websocketMessageProps);
NotificationStore.emitChange();
break;
case ActionTypes.BROWSER_CHANGE_FOCUS: