mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-03 17:26:38 +00:00
Fix issues with relaying and holepunching
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user