Split timeline updates in to different PR.
This commit is contained in:
parent
18ae5fd129
commit
9f8e8ae1fd
1 changed files with 0 additions and 6 deletions
|
@ -338,12 +338,6 @@ function setWidget(event, roomId) {
|
||||||
sendResponse(event, {
|
sendResponse(event, {
|
||||||
success: true,
|
success: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
if (widgetUrl !== null) {
|
|
||||||
client.sendTextMessage(roomId, `Added ${widgetType} widget - ${widgetUrl}`);
|
|
||||||
} else {
|
|
||||||
client.sendTextMessage(roomId, `Removed ${widgetType} widget`);
|
|
||||||
}
|
|
||||||
}, (err) => {
|
}, (err) => {
|
||||||
sendError(event, _t('Failed to send request.'), err);
|
sendError(event, _t('Failed to send request.'), err);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue