diff options
author | Christopher Speller <crspeller@gmail.com> | 2016-02-04 14:50:30 -0500 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2016-02-04 14:50:30 -0500 |
commit | ec51c31c325b3dc648a261f0e8634b6d70d7ba73 (patch) | |
tree | 1369b8d2bc406d54770d7ccf52b1e6a8bfedfc05 /web/react/components/delete_post_modal.jsx | |
parent | 44c19ee443831e0e94b5738ecb21a64ce7643247 (diff) | |
parent | 21318b7505babaebbb5174c62b75595b2936ebe0 (diff) | |
download | chat-ec51c31c325b3dc648a261f0e8634b6d70d7ba73.tar.gz chat-ec51c31c325b3dc648a261f0e8634b6d70d7ba73.tar.bz2 chat-ec51c31c325b3dc648a261f0e8634b6d70d7ba73.zip |
Merge pull request #2064 from hmhealey/plt882
PLT-882 Ephemeral Messages and Out-Of-Channel mentions
Diffstat (limited to 'web/react/components/delete_post_modal.jsx')
-rw-r--r-- | web/react/components/delete_post_modal.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/delete_post_modal.jsx b/web/react/components/delete_post_modal.jsx index 34fd724f5..9d7dcb3e5 100644 --- a/web/react/components/delete_post_modal.jsx +++ b/web/react/components/delete_post_modal.jsx @@ -88,7 +88,7 @@ export default class DeletePostModal extends React.Component { } } - PostStore.removePost(this.state.post.id, this.state.post.channel_id); + PostStore.deletePost(this.state.post); AsyncClient.getPosts(this.state.post.channel_id); }, (err) => { |