mirror of
https://github.com/friendica/friendica
synced 2025-04-26 11:10:11 +00:00
Issue 10126: Transmit "adjust"
This commit is contained in:
parent
ae7178c042
commit
37d15b47e8
3 changed files with 5 additions and 2 deletions
|
@ -1408,7 +1408,7 @@ class Transmitter
|
|||
* @return array with the event data
|
||||
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
|
||||
*/
|
||||
public static function createEvent($item)
|
||||
private static function createEvent($item)
|
||||
{
|
||||
$event = [];
|
||||
$event['name'] = $item['event-summary'];
|
||||
|
@ -1424,6 +1424,8 @@ class Transmitter
|
|||
$event['location'] = self::createLocation($item);
|
||||
}
|
||||
|
||||
$event['dfrn:adjust'] = (bool)$item['event-adjust'];
|
||||
|
||||
return $event;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue