diff --git a/src/UserSettingsStore.js b/src/UserSettingsStore.js
index 1d1924cd23..9b7554bda2 100644
--- a/src/UserSettingsStore.js
+++ b/src/UserSettingsStore.js
@@ -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() {
diff --git a/src/components/structures/MyGroups.js b/src/components/structures/MyGroups.js
index ab2111ee56..c6885bbe34 100644
--- a/src/components/structures/MyGroups.js
+++ b/src/components/structures/MyGroups.js
@@ -102,7 +102,7 @@ export default withMatrixClient(React.createClass({
}
return
-
+
diff --git a/src/components/views/elements/Flair.js b/src/components/views/elements/Flair.js
index 11dbcbc021..61df660fd5 100644
--- a/src/components/views/elements/Flair.js
+++ b/src/components/views/elements/Flair.js
@@ -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();
}
}
diff --git a/src/components/views/elements/GroupsButton.js b/src/components/views/elements/GroupsButton.js
new file mode 100644
index 0000000000..f973fda74a
--- /dev/null
+++ b/src/components/views/elements/GroupsButton.js
@@ -0,0 +1,38 @@
+/*
+Copyright 2017 New Vector Ltd
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+import sdk from '../../../index';
+import PropTypes from 'prop-types';
+import { _t } from '../../../languageHandler';
+
+const GroupsButton = function(props) {
+ const ActionButton = sdk.getComponent('elements.ActionButton');
+ return (
+
+ );
+};
+
+GroupsButton.propTypes = {
+ size: PropTypes.string,
+ tooltip: PropTypes.bool,
+};
+
+export default GroupsButton;