Appease the linter
parent
f5cd079a16
commit
fc90531c9f
|
@ -25,6 +25,6 @@ export enum ElementWidgetActions {
|
||||||
|
|
||||||
export interface IViewRoomApiRequest extends IWidgetApiRequest {
|
export interface IViewRoomApiRequest extends IWidgetApiRequest {
|
||||||
data: {
|
data: {
|
||||||
room_id: string;
|
room_id: string; // eslint-disable-line camelcase
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -63,7 +63,7 @@ export class StopGapWidgetDriver extends WidgetDriver {
|
||||||
|
|
||||||
if (!client || !roomId) throw new Error("Not in a room or not attached to a client");
|
if (!client || !roomId) throw new Error("Not in a room or not attached to a client");
|
||||||
|
|
||||||
let r: {event_id: string} = null;
|
let r: {event_id: string} = null; // eslint-disable-line camelcase
|
||||||
if (stateKey !== null) {
|
if (stateKey !== null) {
|
||||||
// state event
|
// state event
|
||||||
r = await client.sendStateEvent(roomId, eventType, content, stateKey);
|
r = await client.sendStateEvent(roomId, eventType, content, stateKey);
|
||||||
|
|
Loading…
Reference in New Issue