matrix/m.room.join_rules: upgrade for room version 10 🎉

This commit is contained in:
Aminda Suomalainen 2022-07-28 20:25:21 +03:00
parent 248a52e8af
commit 341ee4bd53
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -20,7 +20,7 @@ Requires room version <del>8</del> 9. Offers only Spaces in room settings
{
"allow": [
{
"room_id": "!LSWnevuzcRXZZKhqso:privacytools.io",
"room_id": "!whatever:example.net",
"type": "m.room_membership"
}
],
@ -28,27 +28,86 @@ Requires room version <del>8</del> 9. Offers only Spaces in room settings
}
```
### membership of one of multiple rooms
It can be assumed that multiple spaces is simply copying that more,
see below (with exception of `join_rule`)
### merging knocking and membership of another room
Practically the same, but requires room version 10 and new `join_rule` known as
`knock_restricted`
```json
{
"allow": [
{
"room_id": "!psumPMeAfzgAeQpXMG:feneas.org",
"room_id": "!ddFNqIRUacwdicInJz:feneas.org",
"type": "m.room_membership"
},
{
"room_id": "!ddFNqIRUacwdicInJz:feneas.org",
"room_id": "!SxRXoLGlraVfdhZBYy:matrix.org",
"type": "m.room_membership"
},
{
"room_id": "!fGtopoZuCySnTsSdsU:matrix.org",
"type": "m.room_membership"
},
{
"room_id": "!xFKkXCpcnEwgBEQBFt:matrix.org",
"type": "m.room_membership"
},
{
"room_id": "!ruWhXaXgrPjaSSecvb:matrix.org",
"type": "m.room_membership"
},
{
"room_id": "!zYPetrOdqxxQYoWCTb:the-apothecary.club",
"type": "m.room_membership"
},
{
"room_id": "!watercooler-v9:maunium.net",
"type": "m.room_membership"
},
{
"room_id": "!etDMqntYVqugEClPcE:artemislena.eu",
"type": "m.room_membership"
},
{
"room_id": "!sOLQNHloevPHIEWcYN:matrix.org",
"type": "m.room_membership"
},
{
"room_id": "!KMbEUhVQHLwZHmwzKX:matrix.org",
"type": "m.room_membership"
},
{
"room_id": "!rCWNvpCTZHQkiRYUDE:matrix.org",
"type": "m.room_membership"
},
{
"room_id": "!AUKUBkWpbVaNhXJhuD:vi.fi",
"type": "m.room_membership"
},
{
"room_id": "!TtWVeGGDmpLieTGJss:pirateriot.net",
"type": "m.room_membership"
}
],
"join_rule": "restricted"
"join_rule": "knock_restricted"
}
```
It can be presumed that multiple spaces is simply copying that more.
## Note to self
* `!LSWnevuzcRXZZKhqso:privacytools.io` - Tanukis - room version 5
* `!psumPMeAfzgAeQpXMG:feneas.org` - Mikaela.info (space) - room version 6
* `!SxRXoLGlraVfdhZBYy:matrix.org` - eu.aminda.space v9
* `!fGtopoZuCySnTsSdsU:matrix.org` - eu.aminda.space v10
* `!xFKkXCpcnEwgBEQBFt:matrix.org` - aminda.eu v9
* `!ruWhXaXgrPjaSSecvb:matrix.org` - aminda.eu v10
* `!zYPetrOdqxxQYoWCTb:the-apothecary.club` - The Apothecary Community v6
* `!watercooler-v9:maunium.net` - WaterDuck v9
* `!etDMqntYVqugEClPcE:artemislena.eu` - Community Moderation Effort v9
* `!sOLQNHloevPHIEWcYN:matrix.org` - Secure Messaging Apps v6
* `!KMbEUhVQHLwZHmwzKX:matrix.org` - Matrix Haters v9
* `!rCWNvpCTZHQkiRYUDE:matrix.org` - Matrix.fi v5
* `!AUKUBkWpbVaNhXJhuD:vi.fi` - Olohuone v6
* `!TtWVeGGDmpLieTGJss:pirateriot.net` - GlobalPirates v9