mirror of
https://github.com/coracle-social/coracle.git
synced 2024-09-29 08:21:20 +00:00
Bump paravel, fix a few small bugs
This commit is contained in:
parent
10f6724860
commit
79a7223046
@ -63,7 +63,7 @@
|
|||||||
"normalize-url": "^8.0.0",
|
"normalize-url": "^8.0.0",
|
||||||
"nostr-tools": "^2.1.5",
|
"nostr-tools": "^2.1.5",
|
||||||
"npm-run-all": "^4.1.5",
|
"npm-run-all": "^4.1.5",
|
||||||
"paravel": "^0.4.18",
|
"paravel": "^0.4.19",
|
||||||
"qr-scanner": "^1.4.2",
|
"qr-scanner": "^1.4.2",
|
||||||
"qrcode": "^1.5.3",
|
"qrcode": "^1.5.3",
|
||||||
"ramda": "^0.29.1",
|
"ramda": "^0.29.1",
|
||||||
|
@ -166,7 +166,7 @@
|
|||||||
let actions = []
|
let actions = []
|
||||||
|
|
||||||
$: disableActions =
|
$: disableActions =
|
||||||
!$canSign || ($muted && !showMuted) || (note.wrap && !deriveIsGroupMember(address).get())
|
!$canSign || ($muted && !showMuted) || (note.wrap && address && !deriveIsGroupMember(address).get())
|
||||||
$: like = likes.find(e => e.pubkey === $session?.pubkey)
|
$: like = likes.find(e => e.pubkey === $session?.pubkey)
|
||||||
$: $likesCount = likes.length
|
$: $likesCount = likes.length
|
||||||
$: zap = zaps.find(e => e.request.pubkey === $session?.pubkey)
|
$: zap = zaps.find(e => e.request.pubkey === $session?.pubkey)
|
||||||
|
@ -101,7 +101,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
const domain = last(content.nip05.split("@"))
|
const domain = last(content.nip05.split("@"))
|
||||||
const {pubkey, nip46: relays} = await fetchHandle(`_@${domain}`)
|
const {pubkey, nip46: relays} = await fetchHandle(`_@${domain}`) || {}
|
||||||
|
|
||||||
if (handlers.some(h => h.domain === domain)) {
|
if (handlers.some(h => h.domain === domain)) {
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user