remove unused stuff

This commit is contained in:
David Baker 2020-09-11 10:17:37 +01:00
parent a93afe8c69
commit 2af803c1bb

View File

@ -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);
}