You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-11 20:22:36 +03:00
fix inviting some more
This commit is contained in:
@@ -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));
|
||||||
|
|||||||
Reference in New Issue
Block a user