Fixed bug whereby JSONValue object did not exist causing failure, for 'storeMail'
This commit is contained in:
parent
d912721723
commit
0bf0af860a
|
@ -172,7 +172,10 @@ public final class ButterflyClient : Thread
|
|||
/* Store the message in the mailbox */
|
||||
Mail storedMail = storeMail(storeFolder, mailBlock);
|
||||
|
||||
responseBlock["response"]["mailID"] = storedMail.getMailID();
|
||||
/* Set the response to be the mail message's ID */
|
||||
JSONValue response;
|
||||
response["mailID"] =storedMail.getMailID();
|
||||
responseBlock["response"] = response;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -61,8 +61,6 @@ public final class Mailbox
|
|||
folders ~= new Folder(this, dirEntry.name());
|
||||
}
|
||||
|
||||
/* TODO: Implement me */
|
||||
|
||||
return folders;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue