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

use SdkConfig brand name instead of static "Riot"
This commit is contained in:
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

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