Issue 10126: Transmit "adjust"

This commit is contained in:
Michael 2021-04-08 19:38:16 +00:00
parent ae7178c042
commit 37d15b47e8
3 changed files with 5 additions and 2 deletions

View file

@ -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;
}