remove AliasInfo.latest_activity

This commit is contained in:
Son NK 2020-04-24 20:57:01 +02:00 committed by Son NK
parent 560419c6ad
commit 6c1b39bc04

View file

@ -31,7 +31,6 @@ class AliasInfo:
nb_blocked: int nb_blocked: int
nb_reply: int nb_reply: int
latest_activity: Arrow
latest_email_log: EmailLog = None latest_email_log: EmailLog = None
latest_contact: Contact = None latest_contact: Contact = None
@ -225,7 +224,6 @@ def get_alias_infos(user, query=None, highlight_alias_id=None) -> [AliasInfo]:
nb_forward=0, nb_forward=0,
nb_reply=0, nb_reply=0,
highlight=alias.id == highlight_alias_id, highlight=alias.id == highlight_alias_id,
latest_activity=alias.created_at,
) )
alias_info = aliases[alias.email] alias_info = aliases[alias.email]