mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-03 03:50:42 +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 |