element-hq / element-hq/element-web

Incorrect state shown after rejoining room

Open
#28,536 5 comments 0 reactions 1 assignee Claimed by @t3chguy View on GitHub
O-Uncommon S-Minor T-Defect
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

1. User 1 creates new chat, invites User 2
2. User 2 accepts invite
3. User 1 promotes User 2 to moderator
4. User 1 leaves chat
5. User 2 re-invites User 1
6. User 1 rejoins

![image](https://github.com/user-attachments/assets/25f7d897-f4f0-4666-8306-25a86a849ed4)

### Outcome

#### What did you expect?

User 1 sees User 2 as moderator

#### What happened instead?

User 1 sees User 2 as ordinary user

![image](https://github.com/user-attachments/assets/647a9430-628f-4bf4-b79c-2705e51518c0)

(Reloading the page fixes the issue)

### Operating system

_No response_

### Application version

Element version: 1.11.86-dev Crypto version: Rust SDK 0.7.2 (fceea46f), Vodozemac 0.8.1

### How did you install the app?

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