diff --git a/lib/store/memory.js b/lib/store/memory.js index a60d296bb28..15d51e1f36b 100644 --- a/lib/store/memory.js +++ b/lib/store/memory.js @@ -94,13 +94,6 @@ module.exports.MatrixInMemoryStore.prototype = { // which would then show up in these lists (!) return; } - // We don't clobber any existing entry in the user map which has presence - // so user entries with presence info are preferred. This does mean we will - // clobber room member entries constantly, which is desirable to keep things - // like display names and avatar URLs up-to-date. - if (this.users[member.userId] && this.users[member.userId].events.presence) { - return; - } var user = new User(member.userId); user.setDisplayName(member.name);