You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
remove unused stuff
This commit is contained in:
@@ -476,9 +476,6 @@ function textForWidgetEvent(event) {
|
|||||||
const {name: prevName, type: prevType, url: prevUrl} = event.getPrevContent();
|
const {name: prevName, type: prevType, url: prevUrl} = event.getPrevContent();
|
||||||
const {name, type, url} = event.getContent() || {};
|
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)) {
|
if (WidgetType.JITSI.matches(type) || WidgetType.JITSI.matches(prevType)) {
|
||||||
return textForJitsiWidgetEvent(event, senderName, url, prevUrl);
|
return textForJitsiWidgetEvent(event, senderName, url, prevUrl);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user