forked from vxmppb/vxmppb
Beginning work on #20
This commit is contained in:
parent
95835fa862
commit
805535cfc3
2
index.js
2
index.js
|
@ -87,6 +87,7 @@ try {
|
||||||
const xmpp_muc_name = config.xmpp.muc_name;
|
const xmpp_muc_name = config.xmpp.muc_name;
|
||||||
const xmpp_muc_password = config.xmpp.muc_password;
|
const xmpp_muc_password = config.xmpp.muc_password;
|
||||||
const xmpp_muc_server = config.xmpp.muc_server;
|
const xmpp_muc_server = config.xmpp.muc_server;
|
||||||
|
const xmpp_server_type = config.xmpp.server_type;
|
||||||
|
|
||||||
// setup private command message
|
// setup private command message
|
||||||
let pc = 'This is a private command. Please see https://wiki.vanderwarker.family/doku.php?id=code:vxmppb:start for your own instance!';
|
let pc = 'This is a private command. Please see https://wiki.vanderwarker.family/doku.php?id=code:vxmppb:start for your own instance!';
|
||||||
|
@ -460,6 +461,7 @@ try {
|
||||||
name: xmpp_muc_name,
|
name: xmpp_muc_name,
|
||||||
service: xmpp_muc_server,
|
service: xmpp_muc_server,
|
||||||
host: bot_hostname,
|
host: bot_hostname,
|
||||||
|
// options: xmpp_server_type;
|
||||||
options: {
|
options: {
|
||||||
allow_change_subj: 'false',
|
allow_change_subj: 'false',
|
||||||
allow_private_messages: 'false',
|
allow_private_messages: 'false',
|
||||||
|
|
Reference in New Issue
Block a user