Browse Source

Change default brand to Riot

& update sample config
pull/2406/head
David Baker 6 years ago
parent
commit
6b4dbfbd62
  1. 2
      src/components/views/settings/Notifications.js
  2. 2
      vector/config.sample.json

2
src/components/views/settings/Notifications.js

@ -119,7 +119,7 @@ module.exports = React.createClass({
var emailPusherPromise;
if (event.target.checked) {
var data = {}
data['brand'] = this.props.brand || 'Vector';
data['brand'] = this.props.brand || 'Riot';
emailPusherPromise = UserSettingsStore.addEmailPusher(address, data);
} else {
var emailPusher = UserSettingsStore.getEmailPusher(this.state.pushers, address);

2
vector/config.sample.json

@ -1,7 +1,7 @@
{
"default_hs_url": "https://matrix.org",
"default_is_url": "https://vector.im",
"brand": "Vector",
"brand": "Riot",
"integrations_ui_url": "http://localhost:8081/",
"integrations_rest_url": "http://localhost:5050",
"enableLabs": true,

Loading…
Cancel
Save