mirror of
https://codeberg.org/keyoxide/doipjs.git
synced 2024-12-22 22:49:28 -07:00
Fix persistence issue
This commit is contained in:
parent
f5964ed305
commit
f3e0744c60
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ module.exports.fn = async (data, opts) => {
|
|||
throw new Error(`XMPP fetcher was not set up properly (${err.message})`)
|
||||
}
|
||||
|
||||
if (!xmpp) {
|
||||
if (!xmpp || xmpp.status !== 'online') {
|
||||
const xmppStartRes = await xmppStart(
|
||||
opts.claims.xmpp.service,
|
||||
opts.claims.xmpp.username,
|
||||
|
|
Loading…
Reference in a new issue