Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

User cannot see room invite #10022

Closed
djschilling opened this issue May 19, 2021 · 5 comments
Closed

User cannot see room invite #10022

djschilling opened this issue May 19, 2021 · 5 comments
Labels
X-Needs-Info This issue is blocked awaiting information from the reporter

Comments

@djschilling
Copy link

djschilling commented May 19, 2021

On my synapse server i have a room with some users in it.
One user was invited to the room, but cannot see the invite in element web.

I can see the invite event in the postgres database

This is the json payload of the invite event:

Bildschirmfoto 2021-05-19 um 18 11 39

I also tried using the sync api /_matrix/client/r0/sync to see the users plain events but also there the event is not visible.

Other users that are in the room can see that user was invited.

So it seems that there is a problem in the /_matrix/client/r0/sync endpoint.

Or am i missing some authorirization thing that a user is not allowed to see his own room invitation?

synapse version: 1.32.2

@erikjohnston
Copy link
Member

Can you check the ignored_users table (to see if the invitee is ignore the inviter) and rejections table (to see if the event was rejected) please?

@erikjohnston erikjohnston added the X-Needs-Info This issue is blocked awaiting information from the reporter label May 20, 2021
@djschilling
Copy link
Author

Thanks for your answer that helped.

In the table ignored_users there is an entry for the user.

How does that happen and can i savely remove this entry?

the user that was ignored there is an user i use for automation and i think the user accidently made this ignore not knowing what the user was for. Can i prevent this behaviour in the future?

@erikjohnston
Copy link
Member

How does that happen and can i savely remove this entry?

Yes, you may have to restart Synapse for it to take effect (due to caches). It's probably easier if the user themselves unignores the person.

the user that was ignored there is an user i use for automation and i think the user accidently made this ignore not knowing what the user was for. Can i prevent this behaviour in the future?

Alas not. There is an issue open on element web to make it harder to so accidentally (I think other clients now have confirmation boxes?): element-hq/element-web#14633

@djschilling
Copy link
Author

I deleted the entries from the database and restarted matrix.
The room still does not show up for the person in element web.

Does this only have an affect on new events?

@erikjohnston
Copy link
Member

Oh, yes, interesting failure mode for invites. They will need to hit the "clear cache" button in their client (e.g. in element web its under Settings > Help & About > Clear cache and reload).

Alternatively you could rescind and resend the invite.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
X-Needs-Info This issue is blocked awaiting information from the reporter
Projects
None yet
Development

No branches or pull requests

2 participants