Fix issues with relaying and holepunching

This commit is contained in:
Owen
2025-03-27 22:13:57 -04:00
parent 4b6985718a
commit a665e3aae9
5 changed files with 10 additions and 15 deletions

View File

@@ -67,13 +67,8 @@ export const handleOlmRelayMessage: MessageHandler = async (context) => {
return {
message: {
type: "olm/wg/connect",
data: {
endpoint: site.endpoint,
publicKey: site.publicKey,
serverIP: site.address!.split("/")[0],
tunnelIP: client.subnet
}
type: "olm/wg/relay-success",
data: {}
},
broadcast: false, // Send to all olms
excludeSender: false // Include sender in broadcast