Skip to content

chore(chat): retire the GroupChats flag - #1472

Merged
bmc08gt merged 1 commit into
code/cashfrom
chore/retire-group-chats-flag
Sep 16, 2026
Merged

bmc08gt merged 1 commit into
code/cashfrom
chore/retire-group-chats-flag

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Sep 16, 2026

Copy link
Copy Markdown
Collaborator

Group chats now reach the chat list unconditionally.

The flag had one consumer — TipFlowViewModel deciding whether chatCoordinator.feed(...) included ChatType.GROUP. Sync was already unconditional, so it filtered the list and nothing else.

It was also unreachable outside internal builds. GroupChats did not override minTrack, so it inherited FeatureTrack.Internal, and LabsScreenContent lists only Production flags without the beta override. With default = false and flags held in DataStore rather than remote config, a production user could neither see the toggle nor have it turned on for them.

That leaves nothing for it to gate: membership is server-assigned, and staff accounts in the staff test group are the only ones the server places in a group today. Create, join and leave will need a gate when they land, but that one gates actions rather than visibility, so it is a new flag rather than this one returning.

Removed: the FeatureFlag.GroupChats entry with its title and description, the flatMapLatest branch in TipFlowViewModel (and the featureFlags dependency, which had no other use), and two comments that justified unconditional syncing by pointing at the flag.

Group chats reach the chat list unconditionally. The flag only ever filtered
the list — sync was already unconditional — and it was unreachable outside
internal builds: GroupChats inherited FeatureTrack.Internal, which the Labs
screen hides without the beta override, over a default of false. So it gated
nothing for anyone who was not staff, and staff are the only accounts the
server places in a group today.

Membership is server-assigned, so there is no client action to gate. When
create, join and leave arrive they gate actions rather than visibility, which
is a different flag.
@bmc08gt bmc08gt self-assigned this Sep 16, 2026
@github-actions github-actions Bot added the type: chore Maintenance, config, CI/CD label Sep 16, 2026
@bmc08gt
bmc08gt merged commit bc91a0c into code/cash Sep 16, 2026
3 checks passed
@bmc08gt
bmc08gt deleted the chore/retire-group-chats-flag branch September 23, 2026 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: chore Maintenance, config, CI/CD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant