Skip to content

Run the user transformer on members and thread participants that come without a user - #7082

Merged
gpunto merged 2 commits into
developfrom
fix/transform-member-and-participant-user-stubs
Nov 26, 2026
Merged

gpunto merged 2 commits into
developfrom
fix/transform-member-and-participant-user-stubs

Conversation

@gpunto

@gpunto gpunto commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Goal

Closes AND-2050

A channel member or thread participant that comes without its user gets a user with only the id, and that user skipped the incoming UserTransformer. Every other user from the API goes through it.

Implementation

  • The id-only user built for a member or thread participant now goes through the incoming UserTransformer, as v6 does for thread participants.
  • Transformers can now receive a user with only an id.

Testing

  • Mapping tests for a member and a thread participant without a user, with a transformer set.

@gpunto gpunto added the pr:bug Bug fix label Nov 25, 2026
@github-actions

Copy link
Copy Markdown
Contributor

PR checklist ✅

All required conditions are satisfied:

  • Title length is OK (or ignored by label).
  • At least one pr: label exists.
  • Sections ### Goal, ### Implementation, and ### Testing are filled, or the PR is bot-authored.
  • An issue is linked (Linear ticket or GitHub issue), or the PR is bot-authored.

🎉 Great job! This PR is ready for review.

@github-actions

github-actions Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

SDK Size Comparison 📏

SDK Before After Difference Status
stream-chat-android-client 6.44 MB 6.44 MB 0.00 MB 🟢
stream-chat-android-ui-components 11.80 MB 11.80 MB 0.00 MB 🟢
stream-chat-android-compose 13.48 MB 13.48 MB 0.00 MB 🟢
stream-chat-android-ai-compose 2.27 MB 2.27 MB 0.00 MB 🟢
stream-chat-android-ai-ondevice 1.67 MB 1.67 MB 0.00 MB 🟢
stream-chat-android-ai-a2ui 0.28 MB 0.28 MB 0.00 MB 🟢
stream-chat-android-ai-openui 0.82 MB 0.82 MB 0.00 MB 🟢

@gpunto
gpunto marked this pull request as ready for review November 25, 2026 15:17
@gpunto
gpunto requested a review from a team as a code owner November 25, 2026 15:17

@andremion andremion left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. One optional nit inline.

@gpunto
gpunto added this pull request to the merge queue Nov 26, 2026
Merged via the queue into develop with commit b4da408 Nov 26, 2026
29 checks passed
@gpunto
gpunto deleted the fix/transform-member-and-participant-user-stubs branch November 26, 2026 12:06
@stream-android-release-bot stream-android-release-bot Bot added the released Included in a release label Nov 27, 2026
@stream-android-release-bot

Copy link
Copy Markdown
Contributor

🚀 Available in v7.21.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr:bug Bug fix released Included in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants