element-hq / element-hq/element-web

Settings UI fails if one adds a non-policy policy room

Open
#23,375 1 comment 0 reactions 0 assignees View on GitHub
O-Uncommon S-Major T-Defect Z-Labs
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

1. Use the experimental ignores using policy lists
2. Add a policy room that has a non `m.policy` type

### Outcome

#### What did you expect?
Error modal
#### What happened instead?
Dialog suddenly broke
On the next access to the setting window, it turns out the room has silently been added to the ignore rooms list

### Operating system

*irrelevant*

### Application version

1.11.8

### How did you install the app?

dpkg/apt

### Homeserver

matrix.org

### 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.