You've already forked matrix-js-sdk
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user