diff options
Diffstat (limited to 'webclient/components')
-rw-r--r-- | webclient/components/matrix/event-handler-service.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webclient/components/matrix/event-handler-service.js b/webclient/components/matrix/event-handler-service.js index 5c332d5cd9..ea52db4f4a 100644 --- a/webclient/components/matrix/event-handler-service.js +++ b/webclient/components/matrix/event-handler-service.js @@ -371,7 +371,7 @@ function(matrixService, $rootScope, $q, $timeout, mPresence) { // Get the user display name from the member list of the room var member = getMember(room_id, user_id); - if (member) { + if (member && member.content.displayname) { // Do not consider null displayname displayName = member.content.displayname; } |