Rename Flair feature to Groups

This commit is contained in:
Luke Barnard 2017-09-29 10:27:40 +01:00
parent 739ddb8410
commit 18e0d8da86
2 changed files with 3 additions and 3 deletions

View file

@ -35,7 +35,7 @@ export default {
},
{
name: "-",
id: 'feature_flair',
id: 'feature_groups',
default: false,
},
],
@ -43,7 +43,7 @@ export default {
// horrible but it works. The locality makes this somewhat more palatable.
doTranslations: function() {
this.LABS_FEATURES[0].name = _t("Matrix Apps");
this.LABS_FEATURES[1].name = _t("Flair");
this.LABS_FEATURES[1].name = _t("Groups");
},
loadProfileInfo: function() {

View file

@ -191,7 +191,7 @@ export default class Flair extends React.Component {
componentWillMount() {
this._unmounted = false;
if (UserSettingsStore.isFeatureEnabled('feature_flair') && groupSupport) {
if (UserSettingsStore.isFeatureEnabled('feature_groups') && groupSupport) {
this._generateAvatars();
}
}