You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Move group publication toggles to UserSettings
This commit is contained in:
committed by
Luke Barnard
parent
361e4c81a9
commit
9ed9422af8
@@ -595,6 +595,11 @@ module.exports = React.createClass({
|
||||
});
|
||||
},
|
||||
|
||||
_renderGroupSettings: function() {
|
||||
const GroupUserSettings = sdk.getComponent('groups.GroupUserSettings');
|
||||
return <GroupUserSettings />;
|
||||
},
|
||||
|
||||
_renderReferral: function() {
|
||||
const teamToken = this.props.teamToken;
|
||||
if (!teamToken) {
|
||||
@@ -1249,6 +1254,8 @@ module.exports = React.createClass({
|
||||
{ accountJsx }
|
||||
</div>
|
||||
|
||||
{ this._renderGroupSettings() }
|
||||
|
||||
{ this._renderReferral() }
|
||||
|
||||
{ notificationArea }
|
||||
|
||||
Reference in New Issue
Block a user