diff options
author | JoramWilander <jwawilander@gmail.com> | 2016-01-27 10:50:48 -0500 |
---|---|---|
committer | JoramWilander <jwawilander@gmail.com> | 2016-01-27 10:50:48 -0500 |
commit | 1575488650f4d6df49820043af68e57489c66a46 (patch) | |
tree | 970815996678066b2aa5ff7673c6984c6acf443c /web/react/dispatcher | |
parent | 2b1b1e28e113f8a902f2e2f8d8a639acddbea316 (diff) | |
download | chat-1575488650f4d6df49820043af68e57489c66a46.tar.gz chat-1575488650f4d6df49820043af68e57489c66a46.tar.bz2 chat-1575488650f4d6df49820043af68e57489c66a46.zip |
Clear deleted messages after channel leave and fix missig postlist error
Diffstat (limited to 'web/react/dispatcher')
-rw-r--r-- | web/react/dispatcher/event_helpers.jsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/web/react/dispatcher/event_helpers.jsx b/web/react/dispatcher/event_helpers.jsx index a03923c1a..5eb319320 100644 --- a/web/react/dispatcher/event_helpers.jsx +++ b/web/react/dispatcher/event_helpers.jsx @@ -19,7 +19,8 @@ export function emitChannelClickEvent(channel) { AppDispatcher.handleViewAction({ type: ActionTypes.CLICK_CHANNEL, name: channel.name, - id: channel.id + id: channel.id, + prev: ChannelStore.getCurrentId() }); } |