Skip to content

Messages are marked as read even though the message has not been read #6370

Description

@rwolf2467

Steps to reproduce

  1. User A sends a message to User B
  2. User B has Talk installed on Android, app is not open
  3. Push notification arrives on User B's device
  4. Message is immediately marked as read for User A, without User B opening the chat

Expected behaviour

Messages should not instantly be marked as read

Actual behaviour

Messages sent to an user with android are instantly marked as read, even though the User receiving the message is offline and the app is not open.

Device brand and model

Samsung s24

Android version

Unknown

Nextcloud Talk app version

23.0.1

Nextcloud server version

34.0.0.12

Talk version

No response

Custom Signaling server configured

Yes (specify version in Additional Information)

Custom TURN server configured

Yes

Custom STUN server configured

None

Android logs

No response

Server log

{"user":"audi","method":"GET","url":"/ocs/v2.php/apps/spreed/api/v1/chat/h92fgma6?lastKnownMessageId=57708&setReadMarker=1&timeout=30&lookIntoFuture=1","userAgent":"Mozilla/5.0 (Android) Nextcloud-Talk v23.0.1"}

Additional information

The Android app polls with setReadMarker=1 during background activity triggered by push notifications. The user appears offline simultaneously (no active HPB/WebSocket session), confirming the app is not in the foreground. Background polls should use setReadMarker=0.

High performance backend version: 2.1.1~docker

Metadata

Metadata

Assignees

No one assigned

    Labels

    1. to developAccepted and waiting to be taken care of (should be only set by nextcloud employees)bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions