element-hq / element-hq/element-web

Redacting an `m.space.child` / `parent` event does not remove a room from a space

Open
#31,746 2 comments 0 reactions 0 assignees View on GitHub
A-Power-Levels A-Spaces O-Occasional S-Major T-Defect Z-Spec-Compliance
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

Redacting a state event means that the content of that event is now more-or-less empty (membership events are a notable special-case). That means that if someone redacts an an `m.space.child` / `parent` event, the relevant child is no longer a member of the parent space.

But according to https://github.com/matrix-org/matrix-spec/issues/2252:

> Element Web doesn't support this and expects empty m.space.child/parent events to be sent instead.

### Outcome

#### What did you expect?

#### What happened instead?

### Operating system

_No response_

### Browser information

_No response_

### URL for webapp

_No response_

### Application version

_No response_

### Homeserver

_No response_

### Will you send logs?

Yes

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.