matrix-org / matrix-org/matrix-ios-sdk

Get receiptMessage

Open
#1,797 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Objective-C
Stars
484
Forks
225
PR merge metrics
No merged PRs in 30d

Description

I try to achieve that this function get triggered which give the status about if an message would read or not.

func getReceipt() {
        let room = mxSession?.room(withRoomId: room?.roomId)

        room?.listen(toEventsOfTypes: [kMXEventTypeStringRoomMessage]) { event, direction, roomState in
            
        }
}

I have two clients with different user und post a message in the room and I want that I go into this function but nothing happened.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the getReceipt() entry point and its room?.listen(toEventsOfTypes:) call. Trace which event types are emitted for message delivery or read status and confirm whether the callback is expected to run for the two-client scenario. Done means the relevant receipt status reaches the callback or the issue clearly documents the supported event and limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
objective-c, swift
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.