array(
0 => stdClass::__set_state(array(
'id' => 'SU5CT1g=',
'accountId' => 4,
'name' => 'Inbox',
'specialRole' => 'inbox',
'unseen' => 0,
'total' => 2,
'isEmpty' => false,
'noSelect' => false,
'attributes' => array(
0 => '\marked',
1 => '\hasnochildren',
) ,
'delimiter' => '/',
'folders' => array() ,
'syncToken' => 'xxxxxx',
)) ,
1 => stdClass::__set_state(array(
'id' => 'SU5CT1gvRkxBR0dFRA==',
'accountId' => 4,
'name' => 'Favorites',
'specialRole' => 'flagged',
'unseen' => 0,
'total' => 0,
'isEmpty' => true,
'noSelect' => false,
'attributes' => array(
0 => '\marked',
1 => '\hasnochildren',
2 => '\Flagged',
) ,
'delimiter' => '/',
'folders' => array() ,
'syncToken' => NULL,
)) ,
2 => stdClass::__set_state(array(
'id' => 'RHJhZnRz',
'accountId' => 4,
'name' => 'Drafts',
'specialRole' => 'drafts',
'unseen' => 0,
'total' => 1,
'isEmpty' => false,
'noSelect' => false,
'attributes' => array(
0 => '\hasnochildren',
1 => '\drafts',
) ,
'delimiter' => '/',
'folders' => array() ,
'syncToken' => 'xxxxxx=',
)) ,
3 => [REMOVED FOR READABILITY]
);
With master
mail/lib/Service/FolderMapper.php
Lines 70 to 92 in 632e9ed
Gives me:
It's probably related to the id of the two folders:
Which gives us respectively:
So the favorite folder appear as subs even if it has the
hasnochildrenattribute.Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.