Include organizer actor in icalendar export

Closes #907

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2021-11-09 11:46:54 +01:00
parent 6d9fe639d6
commit 2401abedb5
2 changed files with 12 additions and 1 deletions

View File

@@ -26,6 +26,7 @@ defmodule Mobilizon.Service.ICalendarTest do
DTSTART:#{Value.to_ics(event.begins_on)}Z
GEO:#{event.physical_address |> Address.coords() |> Tuple.to_list() |> Enum.join(";")}
LOCATION:#{Address.representation(event.physical_address)}
ORGANIZER:#{event.organizer_actor.name}
SUMMARY:#{event.title}
UID:#{event.uuid}
URL:#{event.url}