Skip to content

Commit

Permalink
Merge pull request facebook#3 from pieterv/messagestore-bugfix
Browse files Browse the repository at this point in the history
Call `MessageStore.emitChange` in example
  • Loading branch information
fisherwebdev committed Jul 27, 2014
2 parents a74c542 + 084c5cd commit 780db24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/flux-chat/js/stores/MessageStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ MessageStore.dispatchToken = ChatAppDispatcher.register(function(payload) {
case ActionTypes.CLICK_THREAD:
ChatAppDispatcher.waitFor([ThreadStore.dispatchToken]);
_markAllInThreadRead(ThreadStore.getCurrentID());
MessageStore.emitChange;
MessageStore.emitChange();
break;

case ActionTypes.CREATE_MESSAGE:
Expand Down

0 comments on commit 780db24

Please sign in to comment.