add nostr publishing

This commit is contained in:
HolgerHatGarKeineNode
2023-02-23 22:12:50 +01:00
parent a51c46c349
commit 9da6a0866c

View File

@@ -78,7 +78,7 @@ class ArticleOverview extends Component
->find($id);
$libraryItem->setStatus('published');
$libraryItemName = $libraryItem->name;
if (!$libraryItem->lecturer->nostr) {
if ($libraryItem->lecturer->nostr) {
$libraryItemName .= ' von @'.$libraryItem->lecturer->nostr;
} else {
$libraryItemName .= ' von '.$libraryItem->lecturer->name;