mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 19:56:47 +03:00
Appease the linter
This commit is contained in:
parent
fc820c4b1a
commit
c2cb791f7d
2 changed files with 1 additions and 8 deletions
|
@ -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,
|
||||||
);
|
);
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue