Widgets do not reliably receive room invitations #20622
Labels
A-Widgets
O-Uncommon
Most users are unlikely to come across this or unexpected workflow
S-Minor
Impairs non-critical functionality or suitable workarounds exist
T-Defect
Steps to reproduce
We want to create a widget that reacts to room invitations (and the set of stripped events that are provided for this room). However, when a room is already known to Element, the events are not reliably sent to the widget.
I created an example widget that shows the issue: https://github.com/dhenneke/element-bug-invite
Here is a video that demonstrates the behavior:
leave
event. ✅leave
event. ✅bug.mp4
You can also test it with the deployed widget with
/addwidget https://dhenneke-element-bug-invite.netlify.app/
.I think the event is skipped due to this logic, but I'm not sure what's special about these events that make them be skipped.
Outcome
What did you expect?
The widget receives the events
What happened instead?
The widget doesn't receive the events.
Operating system
macOS
Browser information
No response
URL for webapp
develop.element.io
Application version
Element version: 840867b-react-47cbef2af2c9-js-652b3a9208f0 Olm version: 3.2.8
Homeserver
No response
Will you send logs?
Yes
The text was updated successfully, but these errors were encountered: