Repository navigation
fix(people): accept unknown Telegram group admins in the Capo area - #134
Merged
Merged
Conversation
Backend PoliNetworkOrg/backend#93 drops tg_group_admins (RFC v3 Phase 6). Group admins are native Telegram status, which the backend does not store, so the Capo area now reports `admins: null` per group. The contract accepted only a number, so the page would fail to load. A null count is now accepted and shows neither a count nor the "No admins" badge, which stays for a known count of zero.
Contributor
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
toto04
approved these changes
Oct 26, 2026
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.
Summary
Backend PoliNetworkOrg/backend#93 (RFC v3 Phase 6) drops
tg_group_admins. Group admins are native Telegram status (RFC v3 decision 2), which the backend does not store, socapo.getnow returnsadmins: nullfor each group.capoAreaSchemaaccepted only a number, so Telegram › Capo Admin would fail to load once fix(ui): polish desktop and mobile layouts and simplify copy #93 is deployed.adminsis nownumber | null.Order
Backward compatible: numbers are still accepted. Merge before or together with backend #93.
Verification
pnpm run typecheck: OK.vp check: 0 errors (the 28 warnings are already onmain).pnpm run test: 199 passed, including a new test that the Capo area acceptsadmins: null.