From b85dc7b5a887d00971e40b7bf03dda09689d5f85 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Tue, 24 Sep 2019 01:34:51 +0100 Subject: [PATCH] add debug for vector-im/riot-web#10940 --- src/components/structures/MatrixChat.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/structures/MatrixChat.js b/src/components/structures/MatrixChat.js index 7c791456b1..874149f2c6 100644 --- a/src/components/structures/MatrixChat.js +++ b/src/components/structures/MatrixChat.js @@ -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}`; },