Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

notification client: look for a non-stripped room member event for invites #4012

Open
bnjbvr opened this issue Sep 17, 2024 · 1 comment
Open
Assignees

Comments

@bnjbvr
Copy link
Member

bnjbvr commented Sep 17, 2024

The full invite event (including event id) might be present in the timeline section of a sliding sync response, so in theory we could look for a non-stripped room member event, and match the push notification event id against the invite event id from the timeline portion.

Needs a bit more investigation and confirmation by trying it out with a real-world synapse server.

@bnjbvr bnjbvr self-assigned this Sep 17, 2024
@bnjbvr
Copy link
Member Author

bnjbvr commented Sep 18, 2024

Note: the timeline events aren't handled by user-defined event handlers, when it comes to invited rooms. Adding support for that would be sufficient to solve the issue here, since both the SS proxy and native SSS seem to return the full invite event as part of the timeline (or required_state), for an invited room.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant