Repository navigation
fix: name unnamed groups from their members and keep the name current - #7
Merged
Merged
Conversation
added 4 commits
November 26, 2026 18:38
A group room created before its roster was known was named "Group Chat", and the contact refresh never replaced a non-authoritative name once a room had one, so the placeholder stuck. Rooms with no known members now stay unnamed until the roster arrives. The name the bridge builds is recorded in portal metadata, and the refresh replaces a room name only when it is empty, the old placeholder, or that recorded name, so a name the user or a participant chose is kept. Room names the bridge sets are its own events, which bridgev2 never hands to HandleMatrixRoomName, so none reach Apple.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A group room created before its roster was known was named "Group Chat", and the contact refresh never replaced a name that did not come from Apple once a room had one, so the placeholder stuck for months on a live bridge. Unnamed groups now get a member-built name, recorded in portal metadata as generated_name, and the refresh replaces a room name only when it is empty, the old placeholder, or that recorded name. A participant's name or one set from Matrix is never overwritten. These names stay on the homeserver: bridgev2 drops the bot's own m.room.name events before HandleMatrixRoomName.
Test plan