Skip to content

fix(members): refill the member roster when sliding sync only lazy-loaded it - #1554

Open
eleboucher wants to merge 1 commit into
devfrom
fix/lazy-loaded-member-roster
Open

fix(members): refill the member roster when sliding sync only lazy-loaded it#1554
eleboucher wants to merge 1 commit into
devfrom
fix/lazy-loaded-member-roster

Conversation

@eleboucher

@eleboucher eleboucher commented Aug 1, 2026

Copy link
Copy Markdown
Member

Description

Under sliding sync, rooms subscribe with [m.room.member, $LAZY], so the client only knows members visible in the timeline. The SDK's loadMembersIfNeeded() is supposed to fill the rest via /members, but it skips that fetch whenever IndexedDB already holds an out-of-band member record for the room and never retries. Result: incomplete mention autocomplete and a members-panel spinner that never stops.

Fixes #

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

AI disclosure:

  • Partially AI assisted (clarify which code was AI assisted and briefly explain what it does).
  • Fully AI generated (explain what all the generated code does in moderate detail).

@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Deploying with  Cloudflare Workers  Cloudflare Workers

Status Preview URL Commit Alias Updated (UTC)
✅ Deployment successful! https://pr-1554-sable.raspy-dream-bb1d.workers.dev 9432cac pr-1554 Sat, 01 Aug 2026 08:59:03 GMT

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