Skip to content

[BUG] [BUG] MarkConversationAsRead works for one participant but fails for the other in the same single chat #3708

@wujunhui99

Description

@wujunhui99

OpenIM Server Version

3.8.3

Operating System and CPU Architecture

Linux (ARM)

Deployment Method

Source Code Deployment

Bug Description and Steps to Reproduce

From the UI perspective, this looks like:

  • user A and user B are chatting normally
  • for the same conversation, one side's read status works
  • the other side's read status never updates correctly

Attached screenshots are showing:

  • two users in the same conversation
  • only one side can update read status correctly

Steps to Reproduce

Image
  1. Create two users: A and B
  2. Start a single chat between them so a conversation like si_A_B is created
  3. Let both sides send/receive messages
  4. Call /msg/mark_conversation_as_read for the same conversation from both users
  5. Observe that one user succeeds, while the other user fails with RecordNotFoundError conversation not found

Screenshots Link

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions