Changing default resource for bot if user doesn't set

This commit is contained in:
Stephen Vanderwarker 2025-02-02 13:54:34 -05:00
parent 8da6efb9d5
commit 2ef5390bc8

@ -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,
}); });