1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-07 10:46:24 +03:00
This commit is contained in:
Matthew Hodgson
2019-09-24 01:34:51 +01:00
parent 76d691c373
commit b85dc7b5a8

View File

@@ -1831,8 +1831,9 @@ export default createReactClass({
if (this.state.currentRoomId) {
const room = MatrixClientPeg.get().getRoom(this.state.currentRoomId);
if (room) {
subtitle = `| ${ room.name }`;
subtitle = `| ${ room.name } ${subtitle}`;
}
console.log(`updating subtitle as ${subtitle}`);
}
document.title = `${SdkConfig.get().brand || 'Riot'} ${subtitle} ${this.subTitleStatus}`;
},