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

[Spaces] SDK: Support Space room type #4069

Closed
31 tasks done
SBiOSoftWhare opened this issue Feb 25, 2021 · 1 comment
Closed
31 tasks done

[Spaces] SDK: Support Space room type #4069

SBiOSoftWhare opened this issue Feb 25, 2021 · 1 comment
Labels
A-Spaces Spaces, groups, communities

Comments

@SBiOSoftWhare
Copy link
Contributor

SBiOSoftWhare commented Feb 25, 2021

Support MSC1772

TODO:

  • Create a Space Service (MXSpaceService)
    • Create public space
    • Create private space
    • Get Space from Id
    • Delete Space from id
    • Query space children through space summary API
    • Get space summaries
    • Get root space summaries
    • Join Space
    • Peek space
    • Reject invite
    • Get flatten orphan rooms
    • Get flatten space children
    • Get flatten parent spaces (pre calculate after each sync or filter at last moment)
    • Set space parent
    • Support space summary API
  • Space summary (Using and extending MXRoomSummary at the moment)
    • Create a MXSpaceSummaryUpdater or reuse MXRoomSummaryUpdater (Reuse MXRoomSummaryUpdater atm)
    • Check parent and child relationship in the space summary updater when a new a child space arrives
    • Add space parents property
    • Add child infos property
    • Add flatten parent Ids property
  • Space Model (MXSpace)
    • Room management
      • Add room to space
      • Remove room
    • Parent/child management
      • Add subspace
      • Remove child space
      • Get child order
  • Support room type (messaging / space)

Note: Do not handle auto join rooms. Suggested rooms has been introduced.

@gileluard
Copy link
Contributor

All done so far except Set children order but root spaces order is synced with web.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Spaces Spaces, groups, communities
Projects
None yet
Development

No branches or pull requests

3 participants