|
|
|
@ -40,7 +40,7 @@ class NostrSchemeParser implements InlineParserInterface |
|
|
|
case 'npub': |
|
|
|
case 'npub': |
|
|
|
/** @var NPub $object */ |
|
|
|
/** @var NPub $object */ |
|
|
|
$object = $decoded->data; |
|
|
|
$object = $decoded->data; |
|
|
|
$inlineContext->getContainer()->appendChild(new NostrMentionLink(null, $object->data)); |
|
|
|
$inlineContext->getContainer()->appendChild(new NostrMentionLink(null, $bechEncoded)); |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 'nprofile': |
|
|
|
case 'nprofile': |
|
|
|
/** @var NProfile $decodedProfile */ |
|
|
|
/** @var NProfile $decodedProfile */ |
|
|
|
|