Changing default resource for bot if user doesn't set
This commit is contained in:
parent
8da6efb9d5
commit
2ef5390bc8
2
index.js
2
index.js
@ -46,7 +46,7 @@ if (fs.existsSync(configPath)) {
|
|||||||
const xmpp = client({
|
const xmpp = client({
|
||||||
service: config.xmpp.host,
|
service: config.xmpp.host,
|
||||||
domain: config.xmpp.domain,
|
domain: config.xmpp.domain,
|
||||||
resource: config.xmpp.resource || 'bot',
|
resource: config.xmpp.resource || 'nostrsms-bot',
|
||||||
username: config.xmpp.user,
|
username: config.xmpp.user,
|
||||||
password: config.xmpp.password,
|
password: config.xmpp.password,
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user