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

Cannot mark room as read. #25411

Closed
Tracked by #24392
karlabbott opened this issue May 19, 2023 · 6 comments · Fixed by matrix-org/matrix-js-sdk#3393
Closed
Tracked by #24392

Cannot mark room as read. #25411

karlabbott opened this issue May 19, 2023 · 6 comments · Fixed by matrix-org/matrix-js-sdk#3393

Comments

@karlabbott
Copy link

Steps to reproduce

Be in the room and mark it as read 100 times over....

Outcome

What did you expect?

What happened instead?

This room will not mark as read: !kLmEuMmrBeOizxKsjm:matrix.org
Has been going on for 1.5 days and all other rooms work with "mark as read"

Operating system

Fedora 38

Browser information

Vivaldi 5.1.2567.73 (Stable channel) stable (64-bit)

URL for webapp

develop.element.io

Application version

Element version: 0a5173f-react-cc842aac8a0b-js-488390365a12 Olm version: 3.2.14

Homeserver

element.io

Will you send logs?

Yes

@karlabbott
Copy link
Author

Was caused by aggressive browser caching.

@karlabbott
Copy link
Author

Actually, the room just came back as unread and won't let me mark it as read. Submitting logs now from:

Element version: 0a5173f-react-c6f44d305315-js-cd26ba67d4ac
Olm version: 3.2.14

@karlabbott karlabbott reopened this May 19, 2023
@t3chguy
Copy link
Member

t3chguy commented May 19, 2023

@andybalaam / @weeman1337

@weeman1337
Copy link
Contributor

@karlabbott I would suggest to do a live debugging session the next time it happens and see if the correct receipts are sent.

@weeman1337
Copy link
Contributor

weeman1337 commented May 22, 2023

Got a Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'getTs') this morning when marking rooms as read. It is not in the logs but it would explain the behaviour.

@weeman1337
Copy link
Contributor

weeman1337 commented May 22, 2023

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'getTs')
    at Room.getLastLiveEvent (room.ts:812:65)
    at clearRoomNotification (notifications.ts:69:28)
    at onClick (RoomGeneralContextMenu.tsx:220:42)
    at Object.Rb (react-dom.production.min.js:52:315)
    at Xb (react-dom.production.min.js:52:468)
    at Yb (react-dom.production.min.js:53:32)
    at Ze (react-dom.production.min.js:100:68)
    at se (react-dom.production.min.js:101:380)
    at react-dom.production.min.js:113:65
    at Jb (react-dom.production.min.js:292:182)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants