Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(flat-stores): fix wrong room list #2069

Merged
merged 1 commit into from
Oct 31, 2023

Conversation

syt-honey
Copy link
Member

  • Fix: fix a regression from b576a2c

  • Bug desc: roomStore.roomUUIDs will include all rooms even including sub-periodic rooms. It means if I create periodic rooms and update them to this.rooms, I will get all sub-periodic rooms in homepage list by using roomStore.roomUUIDs. And that is not we want.

  • Steps to reproduce: create a periodic room -> enter its detail page -> query all sub-periodic rooms -> back to homepage. Those rooms in list will include sub-periodic rooms.

before:
image

after:
image

@flat-bot flat-bot requested a review from hyrious October 31, 2023 06:26
@flat-bot flat-bot merged commit b2636de into netless-io:main Oct 31, 2023
2 checks passed
@syt-honey syt-honey deleted the fix-room-list branch October 31, 2023 12:42
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.

None yet

3 participants