mirror of
https://github.com/element-hq/element-web
synced 2024-11-25 02:35:48 +03:00
f54e99c708
Turns out that setUserWidget() wasn't updated to take a real WidgetType, but the code in ScalarMessaging thought it did. This leads to integration managers trying to add sticker widgets with an object `type` rather than a string `type`, which doesn't work. This updates other code paths which call into the various widget classes to use WidgetType more often. The actual code path for fixing widgets is resolved in WidgetUtils for the setUserWidget function body. |
||
---|---|---|
.. | ||
Jitsi.ts | ||
WidgetApi.ts | ||
WidgetType.ts |