1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-26 17:03:12 +03:00

Merge branch 'develop' into dbkr/new_unread_count_format

This commit is contained in:
David Baker
2016-01-20 17:25:54 +00:00
2 changed files with 16 additions and 26 deletions

View File

@@ -743,12 +743,12 @@ function calculateRoomName(room, userId, ignoreRoomNameEvent) {
}
}
else {
return userId; // XXX: why userId and not displayname or something?
return memberList[0].name;
}
}
else {
// there really isn't anyone in this room...
return "?";
return "Empty room";
}
}
else if (members.length === 1) {