diff options
author | hmhealey <harrisonmhealey@gmail.com> | 2016-02-01 15:22:44 -0500 |
---|---|---|
committer | hmhealey <harrisonmhealey@gmail.com> | 2016-02-04 11:38:56 -0500 |
commit | db13b7a3ca3d3099392be557e47f838a7851a69a (patch) | |
tree | 65b36c76adba1112b6613e9b59f39588483c259a /web/react/dispatcher | |
parent | b7d045844c4d00d8268da50f2388be1d12c91829 (diff) | |
download | chat-db13b7a3ca3d3099392be557e47f838a7851a69a.tar.gz chat-db13b7a3ca3d3099392be557e47f838a7851a69a.tar.bz2 chat-db13b7a3ca3d3099392be557e47f838a7851a69a.zip |
Changed deleted posts to be more general ephemeral posts
Diffstat (limited to 'web/react/dispatcher')
-rw-r--r-- | web/react/dispatcher/event_helpers.jsx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/web/react/dispatcher/event_helpers.jsx b/web/react/dispatcher/event_helpers.jsx index 5eb319320..cb41bd1bb 100644 --- a/web/react/dispatcher/event_helpers.jsx +++ b/web/react/dispatcher/event_helpers.jsx @@ -180,3 +180,10 @@ export function emitPreferenceChangedEvent(preference) { preference }); } + +export function emitRemovePost(post) { + AppDispatcher.handleViewAction({ + type: Constants.ActionTypes.REMOVE_POST, + post + }); +} |