Summary | Other Users container not shown |
Queue | IMP |
Queue Version | 6.2.0beta1 |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | slusarz (at) horde (dot) org |
Requester | ssri_abo (at) u-paris2 (dot) fr |
Created | 05/22/2014 (4074 days ago) |
Due | |
Updated | 06/07/2014 (4058 days ago) |
Assigned | 05/27/2014 (4069 days ago) |
Resolved | 06/07/2014 (4058 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
I was referring to:
https://github.com/horde/horde/commit/f8e275b289d8314fcfa5ad66d0a8609f02c2a31e
State ⇒ Feedback
Priority ⇒ 1. Low
Assigned to Michael Slusarz
stripping namespace prefix from all mailboxes, not just personal
namespaces):
--- a/imp/lib/Ftree/Account/Imap.php
+++ b/imp/lib/Ftree/Account/Imap.php
@@ -112,23 +112,23 @@ class IMP_Ftree_Account_Imap extends IMP_Ftree_Account
* step through the name to make sure all subfolders exist
* in the tree. */
if (strlen($val['delimiter'])) {
- /* Strip personal namespace. */
- if (!empty($ns_info['name']) &&
- (strpos($mbox, $ns_info['name']) === 0)) {
- $parts = explode($val['delimiter'], substr($mbox,
strlen($n
s_info['name'])));
- $parts[0] = $ns_info['name'] . $parts[0];
+ /* Strip personal namespace (if non-empty). */
+ if (($ns_info->type === $ns_info::NS_PERSONAL) &&
+ strlen($ns_info->name)) {
+ $parts = explode($val['delimiter'],
$ns_info->stripNamespac
e($mbox));
+ $parts[0] = $ns_info->name . $parts[0];
Obviously, this patch can't be applied directly since it depends on a
bunch of other changes (i.e. in Horde_Imap_Client) but I now see the
namespace prefix appearing in my Shared mailboxes folder.
now displayed in a separate folder called "Other users" but not the
real name of the namespace from the IMAP server ( userprefix parameter
in imapd.conf ).
Priority ⇒ 3. High
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Queue ⇒ IMP
Summary ⇒ Other Users container not shown
Type ⇒ Bug
namespace ) are on the same level of INBOX : they are not shown inside
a "Other Users" container.