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

Blocking a room leads to stuck invites #11442

Open
deepbluev7 opened this issue Nov 28, 2021 · 1 comment
Open

Blocking a room leads to stuck invites #11442

deepbluev7 opened this issue Nov 28, 2021 · 1 comment
Labels
A-Invite Inviting users to rooms and accepting invites A-Stuck-Invite Incoming invitations that won't go away S-Minor Blocks non-critical functionality, workarounds exist. T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues.

Comments

@deepbluev7
Copy link
Contributor

deepbluev7 commented Nov 28, 2021

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

  • Get invited to room (over federation maybe?)
  • Ban that room from your HS
  • Try declining that invite in Element Android or other clients

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

  • Homeserver: neko.dev, nheko.im

If not matrix.org:

  • Version: 1.47.1

  • Install method: ebuild

  • Platform: Gentoo
@redsky17
Copy link

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.

@babolivier babolivier added S-Minor Blocks non-critical functionality, workarounds exist. T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues. labels Nov 30, 2021
@richvdh richvdh changed the title Banning a room leads to stuck invites Blocking a room leads to stuck invites Dec 21, 2021
@richvdh richvdh added the A-Stuck-Invite Incoming invitations that won't go away label Dec 21, 2021
@MadLittleMods MadLittleMods added the A-Invite Inviting users to rooms and accepting invites label May 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Invite Inviting users to rooms and accepting invites A-Stuck-Invite Incoming invitations that won't go away S-Minor Blocks non-critical functionality, workarounds exist. T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
Projects
None yet
Development

No branches or pull requests

5 participants