mirror of https://github.com/vector-im/riot-web
Split timeline updates in to different PR.
parent
18ae5fd129
commit
9f8e8ae1fd
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue