Browse Source

send proxy update to use turn

Abhishek Kondur 2 years ago
parent
commit
b26fda3ec7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mq/publishers.go

+ 1 - 1
mq/publishers.go

@@ -88,7 +88,7 @@ func PublishSingleHostPeerUpdate(ctx context.Context, host *models.Host, deleted
 	if len(peerUpdate.Peers) == 0 { // no peers to send
 		return nil
 	}
-	if host.ProxyEnabled {
+	if host.ProxyEnabled || host.ShouldUseTurn {
 		proxyUpdate, err := logic.GetProxyUpdateForHost(ctx, host)
 		if err != nil {
 			return err