Add a custom widget API action for viewing a different room
This commit is contained in:
parent
294876f062
commit
e15041bd53
5 changed files with 89 additions and 7 deletions
|
@ -61,7 +61,7 @@ export default class ModalWidgetDialog extends React.PureComponent<IProps, IStat
|
|||
}
|
||||
|
||||
public componentDidMount() {
|
||||
const driver = new StopGapWidgetDriver( []);
|
||||
const driver = new StopGapWidgetDriver( [], this.widget.type);
|
||||
const messaging = new ClientWidgetApi(this.widget, this.appFrame.current, driver);
|
||||
this.setState({messaging});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue