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

Reports of events in rooms where the reporter has been invited to (but not joined) are accepted by the API, yet hidden when querying reports until the reporter joins #17490

Open
austinhuang0131 opened this issue Jul 26, 2024 · 0 comments

Comments

@austinhuang0131
Copy link

austinhuang0131 commented Jul 26, 2024

Description

I understand that the spec says a user must have joined a room to report any events in it. When testing it (originally meant for responding to a different issue...) I noticed this odd behaviour.

Steps to reproduce

  1. User receives invite to a room
  2. User sends a report on the inviting state event. (Assume the event and room IDs are provided and correct.)
  3. Server returns 200 {} to user
  4. Admin tries to query reports (I'm using synapse-admin to query all reports on a homeserver)
  5. Server does not return the report to admin
  6. User joins the room
  7. Admin tries to query reports again
  8. Server returns the report to admin

Homeserver

bus-hit.me (private)

Synapse Version

1.111.0

Installation Method

Docker (matrixdotorg/synapse)

Database

It is PostgreSQL, but I just used whatever matrix-docker-ansible-deploy suggested. I just updated it today.

Workers

Multiple workers

Platform

Ubuntu on Oracle Cloud; matrix-docker-ansible-deploy is used.

Configuration

None relevant.

Relevant log output

None visible.

Anything else that would be useful to know?

My personal wish is if report function allows reporting the invite event without the recipient joining the room, but that's a spec issue.

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