diff --git a/src/customisations/WidgetPermissions.ts b/src/customisations/WidgetPermissions.ts index 0c1b3a993f..9a78171194 100644 --- a/src/customisations/WidgetPermissions.ts +++ b/src/customisations/WidgetPermissions.ts @@ -29,7 +29,10 @@ import { Capability, Widget } from "matrix-widget-api"; * @returns {Set} Resolves to the capabilities that are approved for use * by the widget. If none are approved, this should return an empty Set. */ -async function preapproveCapabilities(widget: Widget, requestedCapabilities: Set): Promise> { +async function preapproveCapabilities( + widget: Widget, + requestedCapabilities: Set, +): Promise> { return new Set(); // no additional capabilities approved }