Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
fix comment typo
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
  • Loading branch information
t3chguy committed Dec 29, 2017
1 parent 7cc6243 commit a7f317a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/RoomInvite.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export function showRoomInviteDialog(roomId) {
description: _t('Who would you like to add to this room?'),
excludedAddresses: room.currentState.getMembers().filter((member) => {
const membership = member.membership;
// Filter out users which are in the room, have already been invited or have been banned.
// Filter to users which are in the room, have already been invited or have been banned.
return membership === 'join' || membership === 'invite' || membership === 'ban';
}).map((member) => ({
addressType: 'mx-user-id',
Expand Down
2 changes: 0 additions & 2 deletions src/components/structures/GroupView.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ const CategoryRoomList = React.createClass({

onAddRoomsToSummaryClicked: function(ev) {
ev.preventDefault();

const AddressPickerDialog = sdk.getComponent("dialogs.AddressPickerDialog");
Modal.createTrackedDialog('Add Rooms to Group Summary', '', AddressPickerDialog, {
title: _t('Add rooms to the community summary'),
Expand Down Expand Up @@ -260,7 +259,6 @@ const RoleUserList = React.createClass({

onAddUsersClicked: function(ev) {
ev.preventDefault();

const AddressPickerDialog = sdk.getComponent("dialogs.AddressPickerDialog");
Modal.createTrackedDialog('Add Users to Group Summary', '', AddressPickerDialog, {
title: _t('Add users to the community summary'),
Expand Down

0 comments on commit a7f317a

Please sign in to comment.