forked from vxmppb/vxmppb
parent
bf06259369
commit
03883a3030
7
index.js
7
index.js
|
@ -280,7 +280,7 @@ try {
|
|||
});
|
||||
debug();
|
||||
}
|
||||
} else if (message === '!lightsauth') {
|
||||
} else if (message === '!reauth') {
|
||||
if (from != user_jid) {
|
||||
xmpp.send(from, pc);
|
||||
} else {
|
||||
|
@ -451,6 +451,7 @@ try {
|
|||
} else {
|
||||
if (xmpp_server_type === "ejabberd"){
|
||||
fs.readFileSync('./servers/ejabberd.js', 'utf-8');
|
||||
console.log("server type is ejabberd");
|
||||
debug();
|
||||
xmpp.send(from, "Alright. Starting a new meeting: " + xmpp_muc_name + "@" + xmpp_muc_server + " and inviting friends");
|
||||
}
|
||||
|
@ -459,7 +460,9 @@ try {
|
|||
xmpp.send(from, "Please see https://git.vanderwarker.family/vxmppb/vxmppb/issues/20")
|
||||
}
|
||||
else if (xmpp_server_type === "openfire"){
|
||||
fs.readFileSync('./servers/openfire.js', 'utf-8');
|
||||
// fs.readFileSync('./servers/openfire.js', 'utf-8');
|
||||
xmpp.send(from, "Ejabberd is the only supported server at the moment.")
|
||||
xmpp.send(from, "Please see https://git.vanderwarker.family/vxmppb/vxmppb/issues/20")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Reference in New Issue
Block a user