Skip to content

Commit

Permalink
Fix speaker view for eventyay-video (#145)
Browse files Browse the repository at this point in the history
* send invitation for additional speaker input
* issue with speaker view
* remove url import from other branch
  • Loading branch information
lcduong authored Jul 27, 2024
1 parent f3a9eca commit 5ec6ec8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pretalx/api/serializers/speaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ def get_avatar(obj):

@staticmethod
def get_avatar_source(obj):
if obj.user.has_avatar:
if obj.user.has_avatar and obj.user.avatar_source != '':
return obj.user.avatar_source(event=obj.event)

@staticmethod
def get_avatar_license(obj):
if obj.user.has_avatar:
if obj.user.has_avatar and obj.user.avatar_license != '':
return obj.user.avatar_license(event=obj.event)

@staticmethod
Expand Down

0 comments on commit 5ec6ec8

Please sign in to comment.