You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-09-01 21:21:58 +03:00
Use double-quotes for consistency
This commit is contained in:
@@ -415,7 +415,7 @@ function setEventMetadata(event, stateContext, toStartOfTimeline) {
|
||||
function calculateRoomName(room, userId) {
|
||||
// check for an alias, if any. for now, assume first alias is the
|
||||
// official one.
|
||||
var mRoomName = room.currentState.getStateEvents('m.room.name', '');
|
||||
var mRoomName = room.currentState.getStateEvents("m.room.name", "");
|
||||
if (mRoomName) {
|
||||
return mRoomName.getContent().name;
|
||||
}
|
||||
|
Reference in New Issue
Block a user