aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--routes/nostr.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/nostr.ts b/routes/nostr.ts
index 6051a3c2..2b47b834 100644
--- a/routes/nostr.ts
+++ b/routes/nostr.ts
@@ -42,7 +42,7 @@ export default {
const names = {};
for (const { type, value } of parts) {
- if (type.includes("nprofile")) {
+ if (type.includes("nprofile") || type.includes("npub")) {
const { name } = await getProfile(value.pubkey);
names[value.pubkey] = name;
}