From ad1389b20a9f252eea7c13637701d4b008834e78 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sat, 30 Dec 2023 00:43:14 +0100 Subject: [PATCH] Transmitting events to Diaspora does work again (#13777) --- src/Protocol/Diaspora.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Protocol/Diaspora.php b/src/Protocol/Diaspora.php index 59918287ab..a9ba52dcd0 100644 --- a/src/Protocol/Diaspora.php +++ b/src/Protocol/Diaspora.php @@ -3259,7 +3259,9 @@ class Diaspora /// @todo - establish "all day" events in Friendica $eventdata['all_day'] = 'false'; - $eventdata['timezone'] = 'UTC'; + // @todo Should be user timezone - but only if the event is supposed to be displayed + // in that specific timezone and not the user's timezone. + // $eventdata['timezone'] = 'UTC'; if ($event['start']) { $eventdata['start'] = DateTimeFormat::utc($event['start'], $mask); @@ -3403,8 +3405,7 @@ class Diaspora if ($item['event-id'] > 0) { $event = self::buildEvent($item['event-id']); if (count($event)) { - // Deactivated, since Diaspora seems to have problems with the processing. - // $message['event'] = $event; + $message['event'] = $event; if ( !empty($event['location']['address']) && -- 2.39.5