mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-03 20:36:57 +03:00
Add asset add / remove messaging clauses.
This commit is contained in:
parent
992c4771f4
commit
e508f06765
1 changed files with 6 additions and 0 deletions
|
@ -624,6 +624,12 @@ const onMessage = function(event) {
|
|||
} else if (event.data.action === "set_widget") {
|
||||
setWidget(event, roomId);
|
||||
return;
|
||||
} else if (event.data.action === "add_widget_asset") {
|
||||
addWidgetAsset(event, roomId);
|
||||
return;
|
||||
} else if (event.data.action === "remove_widget_asset") {
|
||||
removeWidgetAsset(event, roomId);
|
||||
return;
|
||||
}
|
||||
|
||||
if (!roomId) {
|
||||
|
|
Loading…
Reference in a new issue