Ignore unnecessary error
This commit is contained in:
parent
12fcdfcd4f
commit
2f9010cd13
2 changed files with 7 additions and 3 deletions
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
* Add light theme
|
||||
* Use correct alerts server
|
||||
* Ignore relay errors for claims
|
||||
|
||||
# 1.0.2
|
||||
|
||||
|
|
|
|||
|
|
@ -276,9 +276,12 @@ export const checkRelayAccess = async (url: string, claim = "") => {
|
|||
|
||||
// If it's a strict NIP 29 relay don't worry about requesting access
|
||||
// TODO: remove this if relay29 ever gets less strict
|
||||
if (message !== "missing group (`h`) tag") {
|
||||
return message
|
||||
}
|
||||
if (message === "missing group (`h`) tag") return
|
||||
|
||||
// Ignore messages about the relay ignoring ours
|
||||
if (error?.startsWith("mute: ")) return
|
||||
|
||||
return message
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue