Don't group addresses of type forward.
This commit is contained in:
parent
20da66cfec
commit
4f9babb7b4
|
@ -148,8 +148,9 @@ class MailView(ServiceListView):
|
|||
def retrieve_mailbox(value):
|
||||
mailboxes = value.get('mailboxes')
|
||||
|
||||
# forwarded address should not grouped
|
||||
if len(mailboxes) == 0:
|
||||
return ''
|
||||
return value.get('name')
|
||||
|
||||
return mailboxes[0]['id']
|
||||
|
||||
|
|
Loading…
Reference in New Issue