mirror of
https://github.com/MatomoCamp/pretalx-matomocamp.git
synced 2024-09-11 06:43:44 +02:00
make 2022 event past
This commit is contained in:
parent
01fb246aa0
commit
d75bc78b56
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ class MatomoVideoProvider(BaseRecordingProvider):
|
|||
"""
|
||||
|
||||
def get_recording(self, submission: Submission):
|
||||
is_past_submission = submission.event.id == 1 # 1: 2021, 4: 2022
|
||||
is_past_submission = submission.event.id in {1, 4} # 1: 2021, 4: 2022
|
||||
is_workshop = submission.submission_type.id == 2
|
||||
button_title = "View Workshop" if is_workshop else "View Livestream"
|
||||
livestream_url = f"https://live.matomocamp.org/" + submission.code
|
||||
|
|
Loading…
Reference in a new issue