Use new function name

pull/21833/head
Travis Ralston 2021-07-14 10:18:55 -06:00
parent 9495ba001c
commit 5dc3d09dd8
2 changed files with 2 additions and 2 deletions

View File

@ -415,7 +415,7 @@ export class StopGapWidget extends EventEmitter {
private feedEvent(ev: MatrixEvent) {
if (!this.messaging) return;
const raw = ev.getClearEvent() as IEvent;
const raw = ev.getEffectiveEvent();
this.messaging.feedEvent(raw).catch(e => {
console.error("Error sending event to widget: ", e);
});

View File

@ -164,7 +164,7 @@ export class StopGapWidgetDriver extends WidgetDriver {
results.push(ev);
}
return results.map(e => e.getClearEvent());
return results.map(e => e.getEffectiveEvent());
}
public async readStateEvents(eventType: string, stateKey: string | undefined, limit: number): Promise<object[]> {