Merge "Fix display of POP3 mailbox"
This commit is contained in:
commit
18ad1651fa
@ -153,6 +153,8 @@ public class Pop3Store extends Store {
|
|||||||
public Folder[] updateFolders() {
|
public Folder[] updateFolders() {
|
||||||
Mailbox mailbox = getMailboxForPath(mContext, mAccount.mId, POP3_MAILBOX_NAME);
|
Mailbox mailbox = getMailboxForPath(mContext, mAccount.mId, POP3_MAILBOX_NAME);
|
||||||
updateMailbox(mailbox, mAccount.mId, POP3_MAILBOX_NAME, '\0', true, Mailbox.TYPE_INBOX);
|
updateMailbox(mailbox, mAccount.mId, POP3_MAILBOX_NAME, '\0', true, Mailbox.TYPE_INBOX);
|
||||||
|
// Force the parent key to be "no mailbox" for the mail POP3 mailbox
|
||||||
|
mailbox.mParentKey = Mailbox.NO_MAILBOX;
|
||||||
if (mailbox.isSaved()) {
|
if (mailbox.isSaved()) {
|
||||||
mailbox.update(mContext, mailbox.toContentValues());
|
mailbox.update(mContext, mailbox.toContentValues());
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user