Remove legacy reference to hasDirectProfile (#4308)

Этот коммит содержится в:
Joram Wilander
2016-10-24 10:51:14 -04:00
коммит произвёл GitHub
родитель d4c9123acf
Коммит 64f81762cb

Просмотреть файл

@@ -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);
}
}