diff --git a/src/components/structures/UserSettings.js b/src/components/structures/UserSettings.js index 49674957bc..a33095b8e8 100644 --- a/src/components/structures/UserSettings.js +++ b/src/components/structures/UserSettings.js @@ -280,6 +280,10 @@ module.exports = React.createClass({ Modal.createDialog(DeactivateAccountDialog, {}); }, + _onRejectAllInvitesClicked: function() { + console.log("yup"); + }, + _renderUserInterfaceSettings: function() { var client = MatrixClientPeg.get(); @@ -418,6 +422,24 @@ module.exports = React.createClass({ ; }, + _renderBulkOptions: function() { + let invitedRooms = MatrixClientPeg.get().getRooms().filter((r) => { + return r.hasMembershipState(this._me, "invite"); + }); + if (invitedRooms.length === 0) { + return null; + } + return