Split timeline updates in to different PR.

pull/21833/head
Richard Lewis 2017-08-08 17:34:54 +01:00
parent 18ae5fd129
commit 9f8e8ae1fd
1 changed files with 0 additions and 6 deletions

View File

@ -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);
});