Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When opening a thread, summary gets replaced with wrong message and count gets incremented #21923

Closed
robintown opened this issue Apr 25, 2022 · 5 comments
Labels
A-Threads O-Occasional Affects or can be seen by some users regularly or most users rarely S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect

Comments

@robintown
Copy link
Member

Steps to reproduce

Unclear if this is a consistent repro, but I'm hitting this with nearly all threads now:

  1. Have some people start a thread, but don't participate in it or open it
  2. Observe the summary's latest message and message count
  3. Open the thread

Outcome

What did you expect?

For the latest message and message count to remain accurate after opening the thread.

What happened instead?

The count gets incremented by 1, and the latest message gets substituted with a random message from the thread.

Operating system

NixOS unstable

Browser information

Firefox 99.0

URL for webapp

develop.element.io

Application version

Element version: 2ffb3a1-react-f85e178fc18b-js-ac08e5241079 Olm version: 3.2.8

Homeserver

Synapse 1.57.0

Will you send logs?

No

@robintown robintown added T-Defect S-Minor Impairs non-critical functionality or suitable workarounds exist O-Occasional Affects or can be seen by some users regularly or most users rarely A-Threads labels Apr 25, 2022
@novocaine
Copy link
Contributor

Is this a duplicate of #21770 ?

@t3chguy
Copy link
Member

t3chguy commented Apr 26, 2022

Possibly the same root cause but I don't think a duplicate issue manifestation

@HarHarLinks
Copy link
Contributor

I'm seeing this too e.g. i noticed on this thread https://matrix.to/#/!CMjQWAjoxImKwLBMzX:matrix.org/$WtlhZv0k35IFA56OR6Au1c5fg4_RHzuGtSO6gIzN9qw?via=matrix.org&via=element.io&via=one.ems.host

I first thought it might be caused by the edit being technically after the last message, but that is not the case.

Element Nightly version: 2022071801
Olm version: 3.2.8

@germain-gg
Copy link
Contributor

I believe this would have been addressed by matrix-org/matrix-react-sdk#9356, I have not been able to reproduce

@robintown
Copy link
Member Author

Yep, it was!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Threads O-Occasional Affects or can be seen by some users regularly or most users rarely S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect
Projects
None yet
Development

No branches or pull requests

5 participants