Open deepbluev7 opened 2 years ago
This happened to me earlier with a spam invite. Nico (who administers the nheko.im room) ended up banning a room that I was spam invited to earlier in the day. Now I have an invite in element android (and nheko) that I cannot get rid of.
Description
When banning a room using the admin API, multiple clients (Element Android and Nheko at least) experience issues declining the invite.
Steps to reproduce
The server will return an error code when declining the invite, which in many clients leads to the invite being stuck. While clients could handle that better, I think synapse could help them out here. Especially since you otherwise need to decline the invite in all of your 16 logins.
Ideally the server would either accept the leave event and return the removed room on /sync, even when the room is banned from the HS or it would just send a leave event also to invited users when banning a room.
Version information
If not matrix.org:
Version: 1.47.1
Install method: ebuild
Platform: Gentoo