Appease the linter
This commit is contained in:
parent
289ac34764
commit
f912d9d1b4
2 changed files with 7 additions and 2 deletions
|
@ -121,7 +121,12 @@ export class StopGapWidgetDriver extends WidgetDriver {
|
|||
return new Set(iterableUnion(allowedSoFar, requested));
|
||||
}
|
||||
|
||||
public async sendEvent(eventType: string, content: any, stateKey: string = null, targetRoomId: string = null): Promise<ISendEventDetails> {
|
||||
public async sendEvent(
|
||||
eventType: string,
|
||||
content: any,
|
||||
stateKey: string = null,
|
||||
targetRoomId: string = null,
|
||||
): Promise<ISendEventDetails> {
|
||||
const client = MatrixClientPeg.get();
|
||||
const roomId = targetRoomId || ActiveRoomObserver.activeRoomId;
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ import {
|
|||
isTimelineCapabilityFor,
|
||||
MatrixCapabilities, Symbols,
|
||||
WidgetEventCapability,
|
||||
WidgetKind
|
||||
WidgetKind,
|
||||
} from "matrix-widget-api";
|
||||
import { _t, _td, TranslatedString } from "../languageHandler";
|
||||
import { EventType, MsgType } from "matrix-js-sdk/src/@types/event";
|
||||
|
|
Loading…
Reference in a new issue