summaryrefslogtreecommitdiffstats
path: root/webapp/stores
diff options
context:
space:
mode:
authorRobin Naundorf <r.naundorf@fh-muenster.de>2017-02-13 16:29:54 +0100
committerGeorge Goldberg <george@gberg.me>2017-02-13 15:29:54 +0000
commit54c699b7ca66ec4a7a39d5c5680a25956d1be5fe (patch)
tree4dd5d5888b673df9db33fe340b5571fdadec7440 /webapp/stores
parentff741740eebceb43b1d69b13d97ae7eed2aa32d1 (diff)
downloadchat-54c699b7ca66ec4a7a39d5c5680a25956d1be5fe.tar.gz
chat-54c699b7ca66ec4a7a39d5c5680a25956d1be5fe.tar.bz2
chat-54c699b7ca66ec4a7a39d5c5680a25956d1be5fe.zip
Fix typo (#5380)
* Replace 'recieve' with 'receive'
Diffstat (limited to 'webapp/stores')
-rw-r--r--webapp/stores/notification_store.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/webapp/stores/notification_store.jsx b/webapp/stores/notification_store.jsx
index 93d544cd1..58e4433ec 100644
--- a/webapp/stores/notification_store.jsx
+++ b/webapp/stores/notification_store.jsx
@@ -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: