Split timeline updates in to different PR.
This commit is contained in:
@@ -338,12 +338,6 @@ function setWidget(event, roomId) {
|
||||
sendResponse(event, {
|
||||
success: true,
|
||||
});
|
||||
|
||||
if (widgetUrl !== null) {
|
||||
client.sendTextMessage(roomId, `Added ${widgetType} widget - ${widgetUrl}`);
|
||||
} else {
|
||||
client.sendTextMessage(roomId, `Removed ${widgetType} widget`);
|
||||
}
|
||||
}, (err) => {
|
||||
sendError(event, _t('Failed to send request.'), err);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user