1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-28 05:03:59 +03:00

.name defaults to mxid

This commit is contained in:
Matthew Hodgson
2016-01-20 17:22:16 +00:00
parent 8b7497374f
commit 3a73b54e4a

View File

@@ -722,7 +722,7 @@ function calculateRoomName(room, userId, ignoreRoomNameEvent) {
}
}
else {
return memberList[0].name || userId;
return memberList[0].name;
}
}
else {