Implemented folder deletion in the protocol
This commit is contained in:
parent
704200025c
commit
5d12378cd3
|
@ -258,7 +258,11 @@ public final class ButterflyClient : Thread
|
||||||
/* Make sure the connection is from a client */
|
/* Make sure the connection is from a client */
|
||||||
if(connectionType == ClientType.CLIENT)
|
if(connectionType == ClientType.CLIENT)
|
||||||
{
|
{
|
||||||
/* TODO: Implement me */
|
/* The folder to be deleted */
|
||||||
|
Folder deleteFolder = new Folder(mailbox, commandBlock["request"]["folder"].str());
|
||||||
|
|
||||||
|
/* Delete the folder */
|
||||||
|
deleteFolder.deleteFolder();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue