mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
nostr events schedule
This commit is contained in:
@@ -17,11 +17,7 @@ class MeetupEventObserver
|
||||
public function created(MeetupEvent $meetupEvent): void
|
||||
{
|
||||
try {
|
||||
$from = $meetupEvent->meetup->name;
|
||||
if ($meetupEvent->meetup->nostr) {
|
||||
$from .= ' @'.$meetupEvent->meetup->nostr;
|
||||
}
|
||||
$this->publishOnNostr($meetupEvent, $this->getText('MeetupEvent', $from));
|
||||
$this->publishOnNostr($meetupEvent, $this->getText('MeetupEvent'));
|
||||
} catch (Exception $e) {
|
||||
Log::error($e->getMessage());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user