Skip to content

Mark as read from notification action doesn't work on thread roots #5639

@jmartinesp

Description

@jmartinesp

Steps to reproduce

Given the report here, my understanding of the steps to reproduce it are:

  1. Get a push notification for an event (A) in some room.
  2. Get a push notification for another event (B) in a thread whose root id is the event A previously received.
  3. Tap 'mark as read' in the notification containing the event A, the room one.

Outcome

What did you expect?

The room should have been marked as read using the live timeline.

What happened instead?

We receive an INVALID_PARAM error with the message:

$SOME_EVENT_ID (A's?) is not related to thread main

Your phone model

No response

Operating system version

No response

Application version and app store

No response

Homeserver

No response

Will you send logs?

No

Are you willing to provide a PR?

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-NotificationsO-OccasionalAffects or can be seen by some users regularly or most users rarelyS-MinorImpairs non-critical functionality or suitable workarounds existT-DefectSomething isn't working: bugs, crashes, hangs and other reported problems

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions