mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
support raw pubkeys as well as npubs
This commit is contained in:
parent
480f4ed370
commit
ea987dfa14
1 changed files with 2 additions and 0 deletions
|
|
@ -99,6 +99,8 @@ if (import.meta.main) {
|
|||
continue;
|
||||
}
|
||||
pubkeys.push(decoded);
|
||||
} else if (NSchema.id().safeParse(arg).success) {
|
||||
pubkeys.push(arg);
|
||||
} else {
|
||||
relaySectionBegun = true;
|
||||
if (!arg.startsWith('wss://')) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue