element-hq / element-hq/synapse

Auto-join rooms when knock accepted

Open
#16,307 1 comment 1 reaction 0 assignees View on GitHub
A-Join A-Knock A-User-Experience O-Occasional S-Minor T-Defect
Dominant language
Python
Stars
4.6k
Forks
600
Avg merge
5d 22h
Merged PRs (30d)
51

Description

This issue has been migrated from [#16307](https://github.com/matrix-org/synapse/issues/16307).

---

Knocking/Ask to join is being implemented in Element Web. We've hit a flow that we think needs server support to fix.

Knocking is: A type of room allows users to ask-to-join (instead of waiting for an invite), once a user has knocked the admins in the room receive a notification, the new user is accepted to the room and they should automatically be joined.

Issue: Today, once accepted to the room the user is asked to join the room...

https://github.com/matrix-org/synapse/assets/89144281/add41427-9542-4e14-aab0-7e81eb931445

You can see this at 24s in the video.

Ideally - if the user has knocked and been accepted they are then joined to the room - they should not have to click 'join' again...

Contributor guide

Open the contributing guide

Research direction

Start by tracing Synapse's server-side handling of accepted knocks and the transition to room membership; the issue names no files, tests, or entry points. Confirm the current flow and define completion as automatically joining a user after their knock is accepted, without requiring a second join action.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.