add nostr publishing

This commit is contained in:
HolgerHatGarKeineNode
2023-02-23 21:57:46 +01:00
parent 8c6aa783bc
commit 31856cc42e

View File

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