From 7bd26b19273e17ad0b6fb9e7fb89d04b9e171cfe Mon Sep 17 00:00:00 2001
From: enahum <nahumhbl@gmail.com>
Date: Wed, 24 Aug 2016 20:48:40 -0300
Subject: Add missing directProfiles updates on real-time user updates (#3876)

---
 webapp/stores/user_store.jsx | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'webapp/stores/user_store.jsx')

diff --git a/webapp/stores/user_store.jsx b/webapp/stores/user_store.jsx
index ca4284d29..6a47d0f65 100644
--- a/webapp/stores/user_store.jsx
+++ b/webapp/stores/user_store.jsx
@@ -166,6 +166,10 @@ class UserStoreClass extends EventEmitter {
         return this.direct_profiles;
     }
 
+    saveDirectProfile(profile) {
+        this.direct_profiles[profile.id] = profile;
+    }
+
     saveDirectProfiles(profiles) {
         this.direct_profiles = profiles;
     }
-- 
cgit v1.2.3-1-g7c22

