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

Response from /knock after /invite does not conform to the specification #16735

Open
matrixbot opened this issue Dec 21, 2023 · 0 comments
Open

Comments

@matrixbot
Copy link
Collaborator

matrixbot commented Dec 21, 2023

This issue has been migrated from #16735.


Description

The specification allows re-knocking after having been invited (https://spec.matrix.org/v1.9/client-server-api/#mroommember).

However, Synapse returns a different response if you re-knock after having been invited:

{'errcode': 'M_FORBIDDEN', 'error': 'You are already invited to this room'}

Steps to reproduce

  • Create a room
  • Invite user to a room
  • Knock on the room as an invitee

Homeserver

local

Synapse Version

v1.93.0

Installation Method

Docker (matrixdotorg/synapse)

Database

SQLite

Workers

Single process

Platform

Docker Container (matrixdotorg/synapse:v1.93.0)

Configuration

We use the default homeserver options, but with ratelimiting disabled.

Relevant log output

n/a

Anything else that would be useful to know?

No response

@matrixbot matrixbot changed the title Dummy issue Response from /knock after /invite does not conform to the specification Dec 22, 2023
@matrixbot matrixbot reopened this Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants