Skip to content

Commit 6ecd4b4

Browse files
authored
fix: use better address calculation for schedule owner. Fixes ietf-tools#2611. (ietf-tools#3709)
1 parent be10d6b commit 6ecd4b4

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

ietf/meeting/models.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -734,11 +734,7 @@ def base_url(self):
734734
# return self.url_edit("")
735735

736736
def owner_email(self):
737-
email = self.owner.email_set.all().order_by('primary').first()
738-
if email:
739-
return email.address
740-
else:
741-
return "noemail"
737+
return self.owner.email_address() or "noemail"
742738

743739
@property
744740
def is_official(self):

0 commit comments

Comments
 (0)