mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 19:56:47 +03:00
fix inviting some more
This commit is contained in:
parent
3bedad69cd
commit
d1eec57118
1 changed files with 1 additions and 0 deletions
|
@ -180,6 +180,7 @@ module.exports = React.createClass({
|
||||||
},
|
},
|
||||||
|
|
||||||
_doInvite(address) {
|
_doInvite(address) {
|
||||||
|
var self = this;
|
||||||
Invite.inviteToRoom(self.props.roomId, address).catch((err) => {
|
Invite.inviteToRoom(self.props.roomId, address).catch((err) => {
|
||||||
if (err !== null) {
|
if (err !== null) {
|
||||||
console.error("Failed to invite: %s", JSON.stringify(err));
|
console.error("Failed to invite: %s", JSON.stringify(err));
|
||||||
|
|
Loading…
Reference in a new issue