Skip to content

fix: Only hand polling over to the chat relay once the room is joined on the HPB - #2689

Merged
SystemKeeper merged 1 commit into
mainfrom
fix/noid/chat-relay-join-race
Sep 8, 2026
Merged

fix: Only hand polling over to the chat relay once the room is joined on the HPB#2689
SystemKeeper merged 1 commit into
mainfrom
fix/noid/chat-relay-join-race

Conversation

@Ivansss

@Ivansss Ivansss commented Sep 3, 2026

Copy link
Copy Markdown
Member

The chat relay was armed on the chat API's 304 alone, without checking that our signaling session had
joined the room on the HPB. So we stopped polling before the HPB was sending us anything, and any
message sent in between was never received.

The relay now waits for the HPB room ack (new joinedRoomToken) and keeps long polling until then.

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI

@Ivansss
Ivansss requested a review from SystemKeeper September 3, 2026 14:35
Comment thread NextcloudTalk/WebRTC/NCExternalSignalingController.swift
Comment thread NextcloudTalk/Chat/NCChatController.swift Outdated
…joined on the HPB

Assisted-by: ClaudeCode:claude-opus-5
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
@Ivansss
Ivansss force-pushed the fix/noid/chat-relay-join-race branch from 9bb1b7b to 494fb28 Compare September 8, 2026 14:24
@SystemKeeper
SystemKeeper merged commit 09597e3 into main Sep 8, 2026
10 checks passed
@SystemKeeper
SystemKeeper deleted the fix/noid/chat-relay-join-race branch September 8, 2026 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants