From 304cdf5b406ac4398bba198d1970abc3cbd00704 Mon Sep 17 00:00:00 2001 From: Boris Grozev Date: Mon, 21 Jul 2014 09:49:50 +0200 Subject: [PATCH] Fix a potential problem with removing old SSRCs. --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 4ad7dc55d..1251849a4 100644 --- a/app.js +++ b/app.js @@ -734,7 +734,7 @@ $(document).bind('presence.muc', function (event, jid, info, pres) { if (ssrc2jid[ssrc] == jid) { delete ssrc2jid[ssrc]; } - if (ssrc2videoType == jid) { + if (ssrc2videoType[ssrc] == jid) { delete ssrc2videoType[ssrc]; } });