From e256dd6b057e737e987a83e6092cc92a763d9ecb Mon Sep 17 00:00:00 2001
From: Thomas Karner <thomas.karner@bytepoets.com>
Date: Mon, 15 Apr 2019 09:13:18 +0200
Subject: [PATCH] use SdkConfig brand name instead of static "Riot"

Signed-off-by: Thomas Karner <thomas.karner@bytepoets.com>
---
 src/components/structures/MatrixChat.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/components/structures/MatrixChat.js b/src/components/structures/MatrixChat.js
index fe0deb0d49..f6ca6fbdd9 100644
--- a/src/components/structures/MatrixChat.js
+++ b/src/components/structures/MatrixChat.js
@@ -1797,7 +1797,7 @@ export default React.createClass({
     },
 
     _setPageSubtitle: function(subtitle='') {
-        document.title = `Riot ${subtitle}`;
+        document.title = `${SdkConfig.get().brand || 'Riot'} ${subtitle}`;
     },
 
     updateStatusIndicator: function(state, prevState) {