mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-04-13 14:44:10 +02:00
more updates
This commit is contained in:
parent
4040254001
commit
52853b57e1
|
|
@ -63,9 +63,10 @@ Spaces are referred to primarily by their alias, for example
|
||||||
Space-rooms are distinguished from regular messaging rooms by the `m.room.type`
|
Space-rooms are distinguished from regular messaging rooms by the `m.room.type`
|
||||||
of `m.space` (see [MSC1840](https://github.com/matrix-org/matrix-doc/pull/1840)).
|
of `m.space` (see [MSC1840](https://github.com/matrix-org/matrix-doc/pull/1840)).
|
||||||
|
|
||||||
We introduce an `m.space.child` state event type which defines the rooms within
|
We introduce an `m.space.child` state event type, which defines the rooms
|
||||||
the group: A `present: true` key is included to distinguish from a deleted
|
within the space. The `state_key` is an alias for a child room, and `present:
|
||||||
state event. Something like:
|
true` key is included to distinguish from a deleted state event. Something
|
||||||
|
like:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
|
|
@ -81,10 +82,11 @@ state event. Something like:
|
||||||
"state_key": "#room2:example.com",
|
"state_key": "#room2:example.com",
|
||||||
"contents": {
|
"contents": {
|
||||||
"present": true,
|
"present": true,
|
||||||
"autojoin": true # TODO: what does this mean?
|
"autojoin": true // TODO: what does this mean?
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// no longer a child room
|
||||||
{
|
{
|
||||||
"type": "m.space.child",
|
"type": "m.space.child",
|
||||||
"state_key": "#oldroom:example.com",
|
"state_key": "#oldroom:example.com",
|
||||||
|
|
@ -215,19 +217,15 @@ These dependencies are shared with profiles-as-rooms
|
||||||
several thousand people), this membership has to copied entirely into the
|
several thousand people), this membership has to copied entirely into the
|
||||||
room, rather than querying/searching incrementally.
|
room, rather than querying/searching incrementally.
|
||||||
|
|
||||||
This is particularly problematic if that membership list is based on an
|
* If the membership list is based on an external service such as LDAP, it is
|
||||||
external service such as LDAP, since there is no way to keep the space
|
hard to keep the space membership in sync with the LDAP directory. In
|
||||||
membership in sync with the LDAP directory.
|
practice, it might be possible to do so via a nightly "synchronisation" job
|
||||||
|
which searches the LDAP directory, or via "AD auditing".
|
||||||
|
|
||||||
* No allowance is made for exposing different 'views' of the membership list to
|
* No allowance is made for exposing different 'views' of the membership list to
|
||||||
different querying users. (It may be possible to simulate this behaviour
|
different querying users. (It may be possible to simulate this behaviour
|
||||||
using smaller spaces).
|
using smaller spaces).
|
||||||
|
|
||||||
## Issues
|
|
||||||
|
|
||||||
How does this work with
|
|
||||||
[MSC1228](https://github.com/matrix-org/matrix-doc/issues/1228) (removing MXIDs)?
|
|
||||||
|
|
||||||
## Unstable prefix
|
## Unstable prefix
|
||||||
|
|
||||||
While this proposal is not in a published version of the specification,
|
While this proposal is not in a published version of the specification,
|
||||||
|
|
@ -240,8 +238,3 @@ namespace. For example, `m.space.child` becomes
|
||||||
|
|
||||||
* This replaces MSC1215: https://docs.google.com/document/d/1ZnAuA_zti-K2-RnheXII1F1-oyVziT4tJffdw1-SHrE
|
* This replaces MSC1215: https://docs.google.com/document/d/1ZnAuA_zti-K2-RnheXII1F1-oyVziT4tJffdw1-SHrE
|
||||||
* Other thoughts that led into this are at: https://docs.google.com/document/d/1hljmD-ytdCRL37t-D_LvGDA3a0_2MwowSPIiZRxcabs
|
* Other thoughts that led into this are at: https://docs.google.com/document/d/1hljmD-ytdCRL37t-D_LvGDA3a0_2MwowSPIiZRxcabs
|
||||||
|
|
||||||
|
|
||||||
## Footnotes
|
|
||||||
|
|
||||||
[1] It's a
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue