jmap: name a nested mailbox's label by its own name

A JMAP account's nested mailboxes showed as labels by their whole path, "Work/Hiring", which crowds a thread's chips and the palette. Name each label by the mailbox's own name, and by its path only where two mailboxes share a name, so they stay apart in chips and in label: searches. Sort by path still, so a child follows its parent.


Author rockorager.dev
Date Commit Parent f9608d97
+45 -14
1 changed file
+45 -14
1 changed file