diff options
author | Elias Nahum <nahumhbl@gmail.com> | 2016-02-03 00:46:56 -0300 |
---|---|---|
committer | Elias Nahum <nahumhbl@gmail.com> | 2016-02-03 12:17:13 -0300 |
commit | 6a3806fe9d03abdfa1eb30fc62c7388a6922b60f (patch) | |
tree | ddd3c092a4ff8a7d241f264644804be1194b4768 /web/react/stores | |
parent | f7fddd6cce43ec75599eb4aa463276f18eb4ca28 (diff) | |
download | chat-6a3806fe9d03abdfa1eb30fc62c7388a6922b60f.tar.gz chat-6a3806fe9d03abdfa1eb30fc62c7388a6922b60f.tar.bz2 chat-6a3806fe9d03abdfa1eb30fc62c7388a6922b60f.zip |
PLT-7: Refactoring frontend (chunk 11)
- channel view
- Added translations for previous commits
- Fix bug on signup_team email body
Diffstat (limited to 'web/react/stores')
-rw-r--r-- | web/react/stores/post_store.jsx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/web/react/stores/post_store.jsx b/web/react/stores/post_store.jsx index 7abadf2b1..08ffef822 100644 --- a/web/react/stores/post_store.jsx +++ b/web/react/stores/post_store.jsx @@ -446,7 +446,7 @@ class PostStoreClass extends EventEmitter { posts = {}; } - post.message = '(message deleted)'; + post.message = this.delete_message; post.state = Constants.POST_DELETED; post.filenames = []; @@ -581,6 +581,9 @@ class PostStoreClass extends EventEmitter { return commentCount; } + deleteMessage(msg) { + this.delete_message = msg; + } } var PostStore = new PostStoreClass(); |