You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
Set widget ID on WidgetMessaging instance.
This commit is contained in:
@ -170,8 +170,9 @@ if (!global.mxWidgetMessagingMessageEndpoints) {
|
||||
}
|
||||
|
||||
export default class WidgetMessaging extends MatrixPostMessageApi {
|
||||
constructor(targetWindow) {
|
||||
constructor(widgetId, targetWindow) {
|
||||
super(targetWindow);
|
||||
this.widgetId = widgetId;
|
||||
}
|
||||
|
||||
exec(action) {
|
||||
|
Reference in New Issue
Block a user