Skip to content

Presence re-entry error message does not include clientId (RTP17e) #2209

@paddybyers

Description

@paddybyers

Spec requirement

RTP17e: When automatic presence re-entry fails, the channel should emit an UPDATE event with error code 91004 and a message that indicates the failure and the clientId of the member that failed to re-enter.

Current behaviour

The error message is 'Presence auto re-enter failed' without including the clientId.

Reproduction

RUN_DEVIATIONS=1 npx mocha --no-config --require tsx/cjs 'test/uts/realtime/presence/realtime_presence_reentry.test.ts' --timeout 30000 --grep "RTP17e - failed re-entry emits UPDATE with error"

UTS test

test/uts/realtime/presence/realtime_presence_reentry.test.ts — asserts error.message.includes('my-client').

┆Issue is synchronized with this Jira Task by Unito

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething 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 tests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions