Merge pull request #2921 from eyetime-international-ltd/hotfix/fix_static_title

use SdkConfig brand name instead of static "Riot"
pull/21833/head
Travis Ralston 2019-04-15 11:46:15 -06:00 committed by GitHub
commit f6154bc7cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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) {