mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 18:25:49 +03:00
Check jitsi type in proper way
This commit is contained in:
parent
18be4cb202
commit
a93afe8c69
1 changed files with 1 additions and 1 deletions
|
@ -479,7 +479,7 @@ function textForWidgetEvent(event) {
|
|||
const prevWidgetType = WidgetType.fromString(prevType);
|
||||
const widgetType = WidgetType.fromString(type);
|
||||
|
||||
if (widgetType === WidgetType.JITSI || prevWidgetType === WidgetType.JITSI) {
|
||||
if (WidgetType.JITSI.matches(type) || WidgetType.JITSI.matches(prevType)) {
|
||||
return textForJitsiWidgetEvent(event, senderName, url, prevUrl);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue