Version 4.7.23
This commit is contained in:
1 parent
7124a02564
commit
25ddeb65d6
1791 files changed
+76990
-44452
No files matched your search
@@ -147,7 +147,9 @@ class _Application extends \IPS\Application
|
||||
foreach ( \IPS\calendar\Event::retrieveEvents( $_today, $endDate, NULL, NULL, FALSE, $member ) as $event )
|
||||
{
|
||||
$next = ( (int) \IPS\Settings::i()->calendar_rss_feed_order === 0 ) ? $event->nextOccurrence( $_today, 'startDate' ) : \IPS\DateTime::ts( $event->saved );
|
||||
$document->addItem( $event->title, $event->url(), $event->content, $next, $event->id );
|
||||
$content = $event->content;
|
||||
\IPS\Output::i()->parseFileObjectUrls( $content );
|
||||
$document->addItem( $event->title, $event->url(), $content, $next, $event->id );
|
||||
}
|
||||
|
||||
/* @note application/rss+xml is not a registered IANA mime-type so we need to stick with text/xml for RSS */
|
||||
@@ -197,7 +199,7 @@ class _Application extends \IPS\Application
|
||||
return array_merge( [
|
||||
'calendarEvent_rsvp' => [
|
||||
'event' => \IPS\calendar\Event::class,
|
||||
'action' => "string with the state (attending/etc..)",
|
||||
'action' => "string with the state ('no','yes','maybe','leave')",
|
||||
'attendee' => \IPS\Member::class
|
||||
]
|
||||
],parent::getWebhooks());
|
||||
|
||||
Reference in new issue
Block a user