prevent further user inaccuracies

This commit is contained in:
Amish Shah
2016-09-11 16:57:04 +01:00
parent 77e83fb85a
commit f0a9a1353f
4 changed files with 30 additions and 10 deletions

View File

@@ -46,7 +46,7 @@ class PresenceUpdateHandler extends AbstractHandler {
if (!same) {
const oldUser = cloneObject(user);
user.setup(data.user);
user.patch(data.user);
client.emit(Constants.Events.PRESENCE_UPDATE, oldUser, user);
}
}