summary refs log tree commit diff stats
path: root/README.md
diff options
context:
space:
mode:
authorReto Brunner <reto@labrat.space>2019-05-26 12:24:18 +0200
committerDrew DeVault <sir@cmpwn.com>2019-05-26 12:52:24 -0400
commit61f1b229ecf332e79b7d9e33e965a1a23310c01d (patch)
treeaf812c5f2f8790bfb11df84b654408930c463388 /README.md
parentee61c28e75dd0dadb7514b2b9cabdc9bf5390d03 (diff)
downloadaerc-61f1b229ecf332e79b7d9e33e965a1a23310c01d.tar.gz
Skip non selectable mailboxes in directory listing
If a MailboxInfo has the attribute \Noselect,
it is not possible to use this name as a selectable mailbox.

Therefore it should not be passed to the directory handlers.
The issue pops up if one has a hierarchy like this:
INBOX
INBOX/lists/stuff
INBOX/lists/otherStuff

Even though lists is not a valid inbox (doesn't contain mail, only other maildirs)
it will show up in the directory listing, when we iterate over the MailboxInfo.

It does have the corresponding attribute set though and we can simply filter it out.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions
ef='#n105'>105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192