mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 05:55:00 +08:00
remove unused stuff
This commit is contained in:
parent
a93afe8c69
commit
2af803c1bb
@ -476,9 +476,6 @@ function textForWidgetEvent(event) {
|
||||
const {name: prevName, type: prevType, url: prevUrl} = event.getPrevContent();
|
||||
const {name, type, url} = event.getContent() || {};
|
||||
|
||||
const prevWidgetType = WidgetType.fromString(prevType);
|
||||
const widgetType = WidgetType.fromString(type);
|
||||
|
||||
if (WidgetType.JITSI.matches(type) || WidgetType.JITSI.matches(prevType)) {
|
||||
return textForJitsiWidgetEvent(event, senderName, url, prevUrl);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user