Skip to content
Snippets Groups Projects
Commit f9ec5a74 authored by Roang's avatar Roang
Browse files

Merge branch 'fix/604' into 'develop'

Fix public_speakers

Closes #604

See merge request hub/hub!1036
parents 6fcbbb09 1907427c
Branches
Tags
No related merge requests found
......@@ -182,7 +182,7 @@ class Event(TaggedItemMixin, BackendMixin, ActivityLogMixin, models.Model):
persons = [participant.participant for participant in self.participants.filter(is_public=True, role=EventParticipant.Role.SPEAKER)]
if len(persons) == 0 and self.kind == Event.Kind.SELF_ORGANIZED and self.owner:
persons.add(self.owner)
persons.append(self.owner)
return persons
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment