Skip to content

Conversation

Half-Shot
Copy link
Contributor

Fixes #120
Requires #115

This change breaks support for unstable spaces by removing the existing functions / classes and renaming/graduating them to the stable areas:

  • getSpace / createSpace are now part of MatrixClient
  • MSC1772Space is now called Space
  • The previous state event types are now unsupported and will not work. Developers are expected to manually update their spaces if they wish to transfer them to the new system.

This goes without saying, but care must be taken to review that this PR matches the spec outlined in https://github.com/matrix-org/matrix-doc/blob/master/proposals/1772-groups-as-rooms.md

This PR might be best reviewed file by file, as they are somewhat independent.

@Half-Shot Half-Shot marked this pull request as ready for review May 8, 2021 18:39
@Half-Shot Half-Shot changed the title Support Spaces Spec Support Stable Spaces May 8, 2021
@turt2live turt2live self-requested a review May 8, 2021 19:48
@turt2live turt2live merged commit 7af3b13 into turt2live:master May 11, 2021
invite: opts.invites || [],
power_level_content_override: {
ban: 100,
events_default: 50,

Choose a reason for hiding this comment

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

Currently looking into spaces support in the matrix-rust-sdk and wondered: MSC1772 states

Space-rooms should be created with a power level for events_default of 100

Is 50 used here for backwards-compatibility or was there another reason?

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.

Support stable spaces

3 participants