Send clear events to widgets when permitted
Fixes https://github.com/vector-im/element-web/issues/17615
This commit is contained in:
parent
de4a29cd3c
commit
9495ba001c
2 changed files with 2 additions and 2 deletions
|
@ -415,7 +415,7 @@ export class StopGapWidget extends EventEmitter {
|
|||
private feedEvent(ev: MatrixEvent) {
|
||||
if (!this.messaging) return;
|
||||
|
||||
const raw = ev.event as IEvent;
|
||||
const raw = ev.getClearEvent() as IEvent;
|
||||
this.messaging.feedEvent(raw).catch(e => {
|
||||
console.error("Error sending event to widget: ", e);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue