summaryrefslogtreecommitdiffstats
path: root/webapp/actions
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2016-10-24 10:51:14 -0400
committerGitHub <noreply@github.com>2016-10-24 10:51:14 -0400
commit64f81762cb934b7f3b2cd9e7f7593e2dc78ad9ca (patch)
tree7aae4d23ba3cbbbc6361ed873efe2b1180ce6172 /webapp/actions
parentd4c9123acf7b24b29b766b10c80e35bd1ee388f8 (diff)
downloadchat-64f81762cb934b7f3b2cd9e7f7593e2dc78ad9ca.tar.gz
chat-64f81762cb934b7f3b2cd9e7f7593e2dc78ad9ca.tar.bz2
chat-64f81762cb934b7f3b2cd9e7f7593e2dc78ad9ca.zip
Remove legacy reference to hasDirectProfile (#4308)
Diffstat (limited to 'webapp/actions')
-rw-r--r--webapp/actions/websocket_actions.jsx3
1 files changed, 0 insertions, 3 deletions
diff --git a/webapp/actions/websocket_actions.jsx b/webapp/actions/websocket_actions.jsx
index eb75d118a..c3a3010b0 100644
--- a/webapp/actions/websocket_actions.jsx
+++ b/webapp/actions/websocket_actions.jsx
@@ -254,9 +254,6 @@ function handleUserUpdatedEvent(msg) {
const user = msg.data.user;
if (UserStore.getCurrentId() !== user.id) {
UserStore.saveProfile(user);
- if (UserStore.hasDirectProfile(user.id)) {
- UserStore.saveDirectProfile(user);
- }
UserStore.emitChange(user.id);
}
}