From 1b492114ad094555b5ce3ccb77d106d43205ee06 Mon Sep 17 00:00:00 2001 From: Juliusz Chroboczek Date: Fri, 4 Mar 2022 22:23:25 +0100 Subject: [PATCH] Fix typo in permissionsChangedAction. --- rtpconn/webclient.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtpconn/webclient.go b/rtpconn/webclient.go index 1624567..443089c 100644 --- a/rtpconn/webclient.go +++ b/rtpconn/webclient.go @@ -1180,7 +1180,7 @@ func handleAction(c *webClient, a interface{}) error { Status: &status, RTCConfiguration: ice.ICEConfiguration(), }) - if member("present", c.permissions) { + if !member("present", c.permissions) { up := getUpConns(c) for _, u := range up { err := delUpConn(