element-hq / element-hq/element-web

Collapse subsequent leave and re-join if there is no activity in between

Open
#21,838 1 comment 0 reactions 0 assignees View on GitHub
A-ELS A-Timeline O-Uncommon S-Tolerable T-Defect
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

1. e.g. view https://matrix.to/#/!yjuDlPJPWncSXskCvf:envs.net/$rmRO6LVCK8IQRolrzS48XcL1csNVNC2OgGcuP8Q9VeE?via=envs.net&via=matrix.org in https://matrix.to/#/#matrix-voip:envs.net

### Outcome

#### What did you expect?
Collapse similar to
![image](https://user-images.githubusercontent.com/2803622/163813032-7a904275-3e20-441b-8053-e262b33b8460.png)

#### What happened instead?
![image](https://user-images.githubusercontent.com/2803622/163812958-02516e09-e912-4e4e-812f-39e9ac14dd35.png)

This is the same user (mxid) leaving and rejoining 21:24 later

### Operating system

arch

### Application version

Element Nightly version: 2022041801 Olm version: 3.2.8

### How did you install the app?

aur

### Homeserver

1.56

### Will you send logs?

No

Contributor guide

Open the contributing guide

Research direction

Open the linked Matrix room and event in Element Nightly to reproduce the repeated leave-and-rejoin display. Trace the room timeline or membership-event rendering from that example and compare it with the expected collapsed presentation. Done means consecutive leave and re-join events for the same user, with no intervening activity, are shown as one collapsed entry.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.