Skip to content

fix(client): fix my botched set vs list in tags - #200

Merged
lallaria merged 1 commit into
mainfrom
fix/commonclient_tags
Nov 13, 2026
Merged

lallaria merged 1 commit into
mainfrom
fix/commonclient_tags

Conversation

@lallaria

Copy link
Copy Markdown
Contributor

CommonClient.py: update_tags stores set(tags), so list callers such as the mwgg_gui pronoun/deafen/BK toggles no longer turn ctx.tags into a list. update_death_link drops its list branches.
test/programs/test_common_client.py: TestTagsStayASet covers update_tags with a list, Death Link toggling afterwards, and a set-tagged ConnectUpdate encoding as a JSON array.

CommonClient.py: update_tags stores set(tags), so list callers such as the mwgg_gui pronoun/deafen/BK toggles no longer turn ctx.tags into a list. update_death_link drops its list branches.
test/programs/test_common_client.py: TestTagsStayASet covers update_tags with a list, Death Link toggling afterwards, and a set-tagged ConnectUpdate encoding as a JSON array.
@lallaria
lallaria merged commit 79e4f6e into main Nov 13, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant