remove unused stuff

pull/21833/head
David Baker 2020-09-11 10:17:37 +01:00
parent a93afe8c69
commit 2af803c1bb
1 changed files with 0 additions and 3 deletions

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