element-hq / element-hq/element-web

Duplicated "Today" headers in timeline in a room and duplicate message sends

Open
#14,196 2 comments 0 reactions 0 assignees View on GitHub
A-Timeline P2 T-Defect Z-t3chguy
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Description

Multiple 'today's headers in a row.

The message that was sent just after the duplicated headers was sent again as I opened my laptop as well.

### Steps to reproduce

Unsure. Just reopened laptop from sleep after ~12h and got this. The duplicate today headers were only visible on my machine.

The duplicate message send is not local echo - other users on other homservers have seen it.

Logs being sent: yes

![weird](https://user-images.githubusercontent.com/1917473/85683422-1e37b000-b6c5-11ea-9f1b-3b271b4d9db1.png)

### Version information

- **Platform**: web

For the web app:

- **Browser**: Firefox 76.0.1
- **OS**:Ubuntu
- **URL**: riot.im/develop / riot.im/app / somewhere else? If a private server, what version of riot-web?

For the desktop app:

- **OS**: Windows, macOS, Ubuntu, Arch Linux, etc?
- **Version**: 1.x.y

Contributor guide

Open the contributing guide

Research direction

Start by trying to reproduce the report in the web app with Firefox on Ubuntu after reopening the laptop from sleep, and review the submitted debug logs. The issue names no files or tests; done means a room timeline shows one Today header and a message is not sent again after wake-up.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.