Removes unused vars from moderatemuc.js. and fixes jshint warnings.

This commit is contained in:
paweldomas 2014-11-28 16:16:04 +01:00
parent 9d3aef2efa
commit a0fef34a1f
1 changed files with 10 additions and 17 deletions

View File

@ -1,16 +1,9 @@
/* global $, $iq, config, connection, Strophe, toggleAudio */
/**
* Moderate connection plugin.
*/
Strophe.addConnectionPlugin('moderate', {
connection: null,
roomjid: null,
myroomjid: null,
members: {},
list_members: [], // so we can elect a new focus
presMap: {},
preziMap: {},
joined: false,
isOwner: false,
init: function (conn) {
this.connection = conn;