Add handlers

This commit is contained in:
Owen
2026-07-16 11:23:17 -04:00
parent 903e8c0fa1
commit 515afc14a5
6 changed files with 180 additions and 5 deletions
@@ -77,9 +77,9 @@ export const handleOlmUnRelayMessage: MessageHandler = async (context) => {
return;
}
// update the peer on the exit node
// update the peer on the newt
await newtUpdatePeer(siteId, client.pubKey, {
endpoint: clientSiteAssociation.endpoint // this is the endpoint of the client to connect directly to the exit node
endpoint: clientSiteAssociation.endpoint // this is the endpoint of the client to connect directly to the newt
});
return {