UnknownDeviceDialog: get devices from SDK
rather than having to have the error message passed in. This is in preparation for not having the dialog pop up straight away when a message isn't sent so we don't have to keep the error object knocking around somewhere.
This commit is contained in:
parent
47bf991471
commit
ec560345c7
2 changed files with 42 additions and 16 deletions
|
@ -25,7 +25,6 @@ const onAction = function(payload) {
|
|||
const UnknownDeviceDialog = sdk.getComponent('dialogs.UnknownDeviceDialog');
|
||||
isDialogOpen = true;
|
||||
Modal.createTrackedDialog('Unknown Device Error', '', UnknownDeviceDialog, {
|
||||
devices: payload.err.devices,
|
||||
room: payload.room,
|
||||
onFinished: (r) => {
|
||||
isDialogOpen = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue