element-hq / element-hq/synapse

Tombstoning a V12 room to any room version < 12 can lead to loss of powerlevel

Open
#18,810 5 comments 3 reactions 1 assignee Claimed by @anoadragon453 View on GitHub
A-Power-Levels A-Room-Upgrades O-Uncommon S-Major T-Defect
Dominant language
Python
Stars
4.6k
Forks
600
Avg merge
5d 22h
Merged PRs (30d)
51

Description

### Description

If the creator of a V12 room tombstones the room to any other room version below 12, the upgrade api sets the PL of the creator to 0 after creating the room

### Steps to reproduce

- make a V12 room
- `/upgraderoom 11` in element
- open new room
- have no power anymore

### Homeserver

matrix.org

### Synapse Version

Synapse 1.136.0 (b=matrix-org-hotfixes-priv,a4db588e87)

### Installation Method

Docker (matrixdotorg/synapse)

### Database

Postgresql

### Workers

Multiple workers

### Platform

you know better than me :)

### Configuration

_No response_

### Relevant log output

```shell
^
```

### Anything else that would be useful to know?

_No response_

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.