This commit is contained in:
David Baker 2018-06-26 09:41:20 +01:00
parent 5c8eeff08a
commit 069080e7ed

View file

@ -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, {