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

Add the option to create unfederated spaces #28266

Closed
Twi1ightSparkle opened this issue Oct 22, 2024 · 1 comment
Closed

Add the option to create unfederated spaces #28266

Twi1ightSparkle opened this issue Oct 22, 2024 · 1 comment

Comments

@Twi1ightSparkle
Copy link

Your use case

What would you like to do?

To be able to create unfederated spaces using Element

Why would you like to do it?

To make it easier to create a more secured section on my otherwise federated server

How would you like to achieve it?

Add an option in the space creation modal to make the space unfederated ("m.federate": false) similar to the room creation modal

screenshot_2024-10-22T10-42-36Z

Have you considered any alternatives?

You can manually call the client-server API, but this is not very convenient or user-friendly

curl --request POST \
  --url 'https://matrix.your-server.tld/_matrix/client/r0/createRoom' \
  --header 'Authorization: Bearer your_accessToken' \
  --header 'content-type: application/json' \
  --data '{
  "name": "Example unfederated, private space",
  "topic": "Optionally add a topic here",
  "preset": "private_chat",
  "visibility": "private",
  "power_level_content_override": {
    "events_default": 100,
    "invite": 50
  },
  "creation_content": {
    "type": "m.space",
    "m.federate": false
  },
  "initial_state": [
    {
      "type": "m.room.guest_access",
      "state_key": "",
      "content": {
        "guest_access": "can_join"
      }
    },
    {
      "type": "m.room.history_visibility",
      "content": {
        "history_visibility": "invited"
      }
    }
  ]
}'

Additional context

Element does handle/support unfederated spaces other than creating them

screenshot_2024-10-22T10-35-29Z

Optionally, child rooms created under unfederated spaces should default to also be unfederated.

@t3chguy
Copy link
Member

t3chguy commented Oct 22, 2024

Duplicate of element-hq/element-meta#741

@t3chguy t3chguy closed this as not planned Won't fix, can't repro, duplicate, stale Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants