Skip to content
This repository was archived by the owner on Nov 25, 2024. It is now read-only.

Fix: Appservice not getting invite events from remote server - #2476

Merged
kegsay merged 1 commit into
matrix-org:mainfrom
geekgonecrazy:fix/room-invite
May 24, 2022
Merged

kegsay merged 1 commit into
matrix-org:mainfrom
geekgonecrazy:fix/room-invite

Conversation

@geekgonecrazy

@geekgonecrazy geekgonecrazy commented May 20, 2022 •

Copy link
Copy Markdown
Contributor

Pull Request Checklist

Fixes #2475

Previously if not a roomevent it was ignored by the roomevent consumer. Seems like most events we care about are room events. But invite is also important for the appservice to know about. Also works with Synapse.. so Dendrite needs to handle it as well.

Not sure if this is the best place. I haven't spent much time in the code base yet to be sure

Regarding tests.. Unless i'm missing something it seems the appserver portion isn't covered by tests

  • I have added added tests for PR or I have justified why this PR doesn't need tests.
  • Pull request includes a sign off

Signed-off-by: Aaron Ogle <aaron@geekgonecrazy.com>

@geekgonecrazy
geekgonecrazy requested a review from a team as a code owner May 20, 2022 20:47
Signed-off-by: Aaron Ogle <aaron@geekgonecrazy.com>

@kegsay kegsay left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this! At present there are no component tests for the appservice api unfortunately. I'm slowly revisiting old code and adding tests in, but haven't got to this one yet.

@kegsay
kegsay merged commit 2084494 into matrix-org:main May 24, 2022
@geekgonecrazy
geekgonecrazy deleted the fix/room-invite branch May 24, 2022 21:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Roomserver ignoring unknown output type new_invite_event

2 participants