Skip to content

Commit 780db24

Browse files
committed
Merge pull request facebook#3 from pieterv/messagestore-bugfix
Call `MessageStore.emitChange` in example
2 parents a74c542 + 084c5cd commit 780db24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/flux-chat/js/stores/MessageStore.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ MessageStore.dispatchToken = ChatAppDispatcher.register(function(payload) {
113113
case ActionTypes.CLICK_THREAD:
114114
ChatAppDispatcher.waitFor([ThreadStore.dispatchToken]);
115115
_markAllInThreadRead(ThreadStore.getCurrentID());
116-
MessageStore.emitChange;
116+
MessageStore.emitChange();
117117
break;
118118

119119
case ActionTypes.CREATE_MESSAGE:

0 commit comments

Comments
 (0)