order alias.mailboxes
This commit is contained in:
parent
9e2f1c5f9f
commit
cadbe7d32b
|
@ -730,6 +730,8 @@ class Alias(db.Model, ModelMixin):
|
|||
for m in self._mailboxes:
|
||||
ret.append(m)
|
||||
|
||||
ret = sorted(ret, key=lambda mb: mb.email)
|
||||
|
||||
return ret
|
||||
|
||||
def mailbox_support_pgp(self) -> bool:
|
||||
|
|
Loading…
Reference in a new issue