You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
add debug for vector-im/riot-web#10940
This commit is contained in:
@@ -1831,8 +1831,9 @@ export default createReactClass({
|
|||||||
if (this.state.currentRoomId) {
|
if (this.state.currentRoomId) {
|
||||||
const room = MatrixClientPeg.get().getRoom(this.state.currentRoomId);
|
const room = MatrixClientPeg.get().getRoom(this.state.currentRoomId);
|
||||||
if (room) {
|
if (room) {
|
||||||
subtitle = `| ${ room.name }`;
|
subtitle = `| ${ room.name } ${subtitle}`;
|
||||||
}
|
}
|
||||||
|
console.log(`updating subtitle as ${subtitle}`);
|
||||||
}
|
}
|
||||||
document.title = `${SdkConfig.get().brand || 'Riot'} ${subtitle} ${this.subTitleStatus}`;
|
document.title = `${SdkConfig.get().brand || 'Riot'} ${subtitle} ${this.subTitleStatus}`;
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user