Skip to content

feat: regenerate from chat master (other_media on ModerationPayload) - #141

Merged
vishalnarkhede merged 1 commit into
mainfrom
feat/other-media-regen
Aug 17, 2026
Merged

feat: regenerate from chat master (other_media on ModerationPayload)#141
vishalnarkhede merged 1 commit into
mainfrom
feat/other-media-regen

Conversation

@vishalnarkhede

Copy link
Copy Markdown
Contributor

Summary

Pure make generate output against chat master (Release v235.17.2). No hand edits.

Main addition — ModerationPayload gains the field the chat backend uses for GIF/custom-attachment flood detection:

OtherMedia []string `json:"other_media,omitempty"`

It reaches CheckRequest.ModerationPayload, which is what the chat→moderation /check hop uses.

Also picked up from the spec: the moderation.analysis.failed webhook event and other accumulated changes.

Replaces #140

#140 was generated from a local chat checkout that was on release/v235.12.0 with an uncommitted scratch field, which is why it produced Media *string \json:"Media,omitempty"`instead ofOtherMedia []string`. Please close it in favour of this one.

Note on test imports

Regeneration previously downgraded the test files from /v5 to /v4 (visible in #140 too) because the chat generator template still pinned v4 — fixed at the source in GetStream/chat#15804, so this branch generates /v5 imports and compiles.

go build ./... and go vet ./... pass.

…oad)

Generated via make generate. Adds OtherMedia to ModerationPayload,
the moderation.analysis.failed webhook event, and the other spec
changes accumulated on chat master.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vishalnarkhede
vishalnarkhede deployed to feeds-enabled-shard August 17, 2026 10:19 — with GitHub Actions Active
@vishalnarkhede
vishalnarkhede deployed to feeds-enabled-shard August 17, 2026 10:19 — with GitHub Actions Active
@vishalnarkhede
vishalnarkhede deployed to feeds-enabled-shard August 17, 2026 10:19 — with GitHub Actions Active
@vishalnarkhede
vishalnarkhede deployed to feeds-enabled-shard August 17, 2026 10:19 — with GitHub Actions Active
@vishalnarkhede
vishalnarkhede deployed to feeds-enabled-shard August 17, 2026 10:19 — with GitHub Actions Active
@vishalnarkhede
vishalnarkhede deployed to feeds-enabled-shard August 17, 2026 10:32 — with GitHub Actions Active
@vishalnarkhede
vishalnarkhede merged commit f81c07f into main Aug 17, 2026
16 of 17 checks passed
@vishalnarkhede
vishalnarkhede deleted the feat/other-media-regen branch August 17, 2026 10:34
@github-actions github-actions Bot mentioned this pull request Aug 17, 2026
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.

2 participants