-
Notifications
You must be signed in to change notification settings - Fork 63
PresenceMessage.memberKey not exposed (TP3h) #2202
Copy link
Copy link
Closed
Labels
bugSomething isn't working. It's clear that this does need to be fixed.Something isn't working. It's clear that this does need to be fixed.uts-issueIssues raised there there is an apparent discrepancy between this library and the UTS testsIssues raised there there is an apparent discrepancy between this library and the UTS tests
Description
Activity
Metadata
Metadata
Assignees
Labels
bugSomething isn't working. It's clear that this does need to be fixed.Something isn't working. It's clear that this does need to be fixed.uts-issueIssues raised there there is an apparent discrepancy between this library and the UTS testsIssues raised there there is an apparent discrepancy between this library and the UTS tests
Spec point
Observed behaviour
`memberKey` is not a method on `PresenceMessage`. It is computed internally as a lambda `(item) => item.clientId + ':' + item.connectionId` passed to `PresenceMap`, but not accessible to callers.
Failing test
Reproduction
```bash
RUN_DEVIATIONS=1 npx mocha --grep "TP3h" test/uts/rest/types/presence_message_types.test.ts
```
From PR #2191, branch `uts-rest`.
┆Issue is synchronized with this Jira Task by Unito