Appease the linter

This commit is contained in:
Travis Ralston 2020-11-25 18:58:30 -07:00
parent fc820c4b1a
commit c2cb791f7d
2 changed files with 1 additions and 8 deletions

View file

@ -116,8 +116,6 @@ export class StopGapWidgetDriver extends WidgetDriver {
} }
public async askOpenID(observer: SimpleObservable<IOpenIDUpdate>) { public async askOpenID(observer: SimpleObservable<IOpenIDUpdate>) {
const isUserWidget = this.forWidgetKind !== WidgetKind.Room; // modal and account widgets are "user" widgets
const rawUrl = this.forWidget.templateUrl;
const oidcState = WidgetPermissionStore.instance.getOIDCState( const oidcState = WidgetPermissionStore.instance.getOIDCState(
this.forWidget, this.forWidgetKind, this.inRoomId, this.forWidget, this.forWidgetKind, this.inRoomId,
); );

View file

@ -14,14 +14,9 @@
* limitations under the License. * limitations under the License.
*/ */
import { AsyncStore } from "../AsyncStore";
import { ActionPayload } from "../../dispatcher/payloads";
import defaultDispatcher from "../../dispatcher/dispatcher";
import SettingsStore from "../../settings/SettingsStore"; import SettingsStore from "../../settings/SettingsStore";
import { AsyncStoreWithClient } from "../AsyncStoreWithClient"; import { Widget, WidgetKind } from "matrix-widget-api";
import { IWidget, Widget, WidgetKind } from "matrix-widget-api";
import { MatrixClientPeg } from "../../MatrixClientPeg"; import { MatrixClientPeg } from "../../MatrixClientPeg";
import WidgetUtils from "../../utils/WidgetUtils";
import { SettingLevel } from "../../settings/SettingLevel"; import { SettingLevel } from "../../settings/SettingLevel";
export enum OIDCState { export enum OIDCState {