mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-07 06:58:25 +00:00
Split timeline updates in to different PR.
This commit is contained in:
@@ -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);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user