make UnknownDeviceDialog work again, other than the mess of vector-im/vector-web#3020
This commit is contained in:
parent
d9c0513ee2
commit
7bc3fc8696
6 changed files with 33 additions and 30 deletions
|
@ -337,6 +337,7 @@ module.exports = React.createClass({
|
|||
MatrixClientPeg.get().sendTextMessage(this.props.room.roomId, contentText);
|
||||
}
|
||||
|
||||
var self = this;
|
||||
sendMessagePromise.done(function(res) {
|
||||
dis.dispatch({
|
||||
action: 'message_sent'
|
||||
|
@ -346,7 +347,7 @@ module.exports = React.createClass({
|
|||
var UnknownDeviceDialog = sdk.getComponent("dialogs.UnknownDeviceDialog");
|
||||
Modal.createDialog(UnknownDeviceDialog, {
|
||||
devices: err.devices,
|
||||
room: this.props.room,
|
||||
room: self.props.room,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue