lint compliance
This commit is contained in:
@@ -10,7 +10,7 @@ define([
|
||||
|
||||
var l = window.location;
|
||||
if (origin && window && window.document) {
|
||||
var l = document.createElement("a");
|
||||
l = document.createElement("a");
|
||||
l.href = origin;
|
||||
}
|
||||
var protocol = l.protocol.replace(/http/, 'ws');
|
||||
|
||||
@@ -775,6 +775,7 @@ var factory = function (Util, Hash, CPNetflux, Sortify, nThen, Crypto) {
|
||||
Object.keys(data).forEach(function (curve) {
|
||||
if (!isValidId(curve) || isMap(ref.state.members[curve])) { return delete data[curve]; }
|
||||
});
|
||||
console.error('SENDING INVITE');
|
||||
|
||||
send(['INVITE', data], cb);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user