Send hp error to olm

This commit is contained in:
Owen
2026-06-01 13:57:54 -07:00
parent d11a244caa
commit 09b2671759
2 changed files with 9 additions and 0 deletions
@@ -327,6 +327,7 @@ export const handleOlmRegisterMessage: MessageHandler = async (context) => {
`[handleOlmRegisterMessage] Client last hole punch is too old and we have sites to send; skipping this register. The client is failing to hole punch and identify its network address with the server. Can the client reach the server on UDP port ${config.getRawConfig().gerbil.clients_start_port}?`,
{ orgId: client.orgId, clientId: client.clientId }
);
sendOlmError(OlmErrorCodes.HOLEPUNCH_MISSING, olm.olmId);
return;
}