mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-30 13:12:25 -05:00
If we loaded a message from the local store without an associated folder, load up its folder.
This commit is contained in:
parent
da45b81866
commit
70f35a537e
@ -2081,6 +2081,12 @@ public class LocalStore extends Store implements Serializable
|
||||
this.mAttachmentCount = cursor.getInt(10);
|
||||
this.setInternalDate(new Date(cursor.getLong(11)));
|
||||
this.setMessageId(cursor.getString(12));
|
||||
if (this.getFolder() == null)
|
||||
{
|
||||
LocalFolder f = new LocalFolder(cursor.getInt(13));
|
||||
f.open(LocalFolder.OpenMode.READ_WRITE);
|
||||
this.mFolder = f;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user