From caef414abea77bf0576aef927c9eaf0f205f9b6f Mon Sep 17 00:00:00 2001
From: Harrison Healey <harrisonmhealey@gmail.com>
Date: Tue, 12 Jul 2016 16:06:03 -0400
Subject: PLT-3631 	Properly update PostViewController when emojis change
 (#3565)

* Properly remove custom emojis from clientside store

* Properly update PostViewController when emojis change
---
 webapp/components/post_view/post_view_controller.jsx | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'webapp/components/post_view/post_view_controller.jsx')

diff --git a/webapp/components/post_view/post_view_controller.jsx b/webapp/components/post_view/post_view_controller.jsx
index 17c3e94ae..e5743e657 100644
--- a/webapp/components/post_view/post_view_controller.jsx
+++ b/webapp/components/post_view/post_view_controller.jsx
@@ -247,6 +247,10 @@ export default class PostViewController extends React.Component {
             return true;
         }
 
+        if (nextState.emojis !== this.state.emojis) {
+            return true;
+        }
+
         return false;
     }
 
-- 
cgit v1.2.3-1-g7c22

