mirror of https://codeberg.org/pzp/zooboard.git
handle incoming URIs only after account is loaded
This commit is contained in:
parent
7a98e3cbcc
commit
0a70f2e31c
4
main.js
4
main.js
|
@ -219,6 +219,10 @@ async function scheduleWithHub(multiaddr) {
|
||||||
}
|
}
|
||||||
|
|
||||||
async function handlePPPPPUri(uri) {
|
async function handlePPPPPUri(uri) {
|
||||||
|
if (!globalAccountID) {
|
||||||
|
setTimeout(handlePPPPPUri, 100, uri)
|
||||||
|
return
|
||||||
|
}
|
||||||
if (!uri.startsWith('ppppp://')) return
|
if (!uri.startsWith('ppppp://')) return
|
||||||
console.log('handlePPPPPUri', uri)
|
console.log('handlePPPPPUri', uri)
|
||||||
const commands = peer.invite.parse(uri)
|
const commands = peer.invite.parse(uri)
|
||||||
|
|
Loading…
Reference in New Issue