From 9f8e8ae1fd58ccaf75505f5c0350e8b6585d87f9 Mon Sep 17 00:00:00 2001 From: Richard Lewis Date: Tue, 8 Aug 2017 17:34:54 +0100 Subject: [PATCH] Split timeline updates in to different PR. --- src/ScalarMessaging.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/ScalarMessaging.js b/src/ScalarMessaging.js index cb6e79f5e6..d14d439d66 100644 --- a/src/ScalarMessaging.js +++ b/src/ScalarMessaging.js @@ -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); });