diff --git a/vendor/symposion/schedule/views.py b/vendor/symposion/schedule/views.py index e5fe6bd7e13476f3a3de336a719987d055b5b2d7..41a86ffb101a082890a83ce7845bdf4ede814503 100644 --- a/vendor/symposion/schedule/views.py +++ b/vendor/symposion/schedule/views.py @@ -221,6 +221,7 @@ def make_speaker_dict(speaker, can_view_contact_details): return { 'name': speaker.name, 'twitter': speaker.twitter_username, + 'mastodon': speaker.mastodon_username, 'contact': speaker.email if can_view_contact_details else 'redacted', 'picture_url': speaker_photo(None, speaker, 120), 'code': speaker.code, @@ -286,6 +287,8 @@ def schedule_json(request): }) if not slot.content.speaker.twitter_username == '': slot_data["twitter_id"] = slot.content.speaker.twitter_username + if not slot.content.speaker.mastodon_username == '': + slot_data["mastodon_id"] = slot.content.speaker.mastodon_username else: slot_data.update({ "name": slot.content_override if slot.content_override else "Slot", @@ -300,7 +303,7 @@ def schedule_json(request): class EventFeed(ICalFeed): - product_id = '-//linux.conf.au/schedule//EN' + product_id = '-//2023.everythingopen.au/schedule//EN' timezone = settings.TIME_ZONE filename = 'conference.ics'