Removes unused vars from moderatemuc.js. and fixes jshint warnings.
This commit is contained in:
parent
9d3aef2efa
commit
a0fef34a1f
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue