mirror of
https://github.com/aljazceru/ditto.git
synced 2025-12-24 00:34:25 +01:00
support raw pubkeys as well as npubs
This commit is contained in:
@@ -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://')) {
|
||||
|
||||
Reference in New Issue
Block a user