You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
lint
This commit is contained in:
@@ -323,13 +323,6 @@ function setWidget(event, roomId) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let content = {
|
|
||||||
type: widgetType,
|
|
||||||
url: widgetUrl,
|
|
||||||
name: widgetName,
|
|
||||||
data: widgetData,
|
|
||||||
};
|
|
||||||
|
|
||||||
if (userWidget) {
|
if (userWidget) {
|
||||||
WidgetUtils.setUserWidget(widgetId, widgetType, widgetUrl, widgetName, widgetData).then(() => {
|
WidgetUtils.setUserWidget(widgetId, widgetType, widgetUrl, widgetName, widgetData).then(() => {
|
||||||
sendResponse(event, {
|
sendResponse(event, {
|
||||||
|
|||||||
Reference in New Issue
Block a user