PR feedback

This commit is contained in:
David Baker 2017-08-25 12:10:13 +01:00
parent b50ce2daa0
commit 299db845ff
37 changed files with 90 additions and 83 deletions

View file

@ -27,8 +27,8 @@ export function showGroupInviteDialog(groupId) {
placeholder: _t("Name or matrix ID"),
button: _t("Invite to Group"),
validAddressTypes: ['mx'],
onFinished: (shouldInvite, addrs) => {
if (!shouldInvite) return;
onFinished: (success, addrs) => {
if (!success) return;
_onGroupInviteFinished(groupId, addrs);
},