nostr events schedule

This commit is contained in:
HolgerHatGarKeineNode
2023-02-24 11:54:19 +01:00
parent c99ebca063
commit d483c0955a
7 changed files with 75 additions and 17 deletions

View File

@@ -17,11 +17,7 @@ class MeetupObserver
public function created(Meetup $meetup): void
{
try {
$from = $meetup->name;
if ($meetup->nostr) {
$from .= ' @'.$meetup->nostr;
}
$this->publishOnNostr($meetup, $this->getText('Meetup', $from));
$this->publishOnNostr($meetup, $this->getText('Meetup'));
} catch (Exception $e) {
Log::error($e->getMessage());
}