0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 19:23:53 +01:00
This commit is contained in:
Matthew Hodgson 2014-09-23 13:01:12 +01:00
parent 512f2cc9c4
commit 997a016122

View file

@ -260,8 +260,7 @@ function(matrixService, $rootScope, $q, $timeout, mPresence) {
if (event.content.prev !== event.content.membership) {
memberChanges = "membership";
}
else if (event.prev_content.displayname !==
event.content.displayname) {
else if (event.prev_content && (event.prev_content.displayname !== event.content.displayname)) {
memberChanges = "displayname";
}