diff --git a/www/common/metadata-manager.js b/www/common/metadata-manager.js index bf99e4b84..0ec1c07ea 100644 --- a/www/common/metadata-manager.js +++ b/www/common/metadata-manager.js @@ -97,6 +97,8 @@ define(['json.sortify'], function (Sortify) { change(true); }); sframeChan.on('EV_RT_JOIN', function (ev) { + var idx = members.indexOf(ev); + if (idx !== -1) { console.log('Error: ' + ev + ' is already in members'); return; } members.push(ev); if (!meta.user) { return; } change(false);