cmd-thread.c revision b3162129e6867c906da22f2517373bb97bebae58
/* Copyright (C) 2002 Timo Sirainen */
#include "common.h"
#include "buffer.h"
#include "commands.h"
#include "imap-search.h"
#include "imap-thread.h"
{
enum mail_thread_type threading;
struct mail_search_arg *sargs;
int args_count;
if (args_count == -2)
return FALSE;
if (args_count < 3) {
"Missing or invalid arguments.");
return TRUE;
}
if (!client_verify_open_mailbox(client))
return TRUE;
"Invalid thread algorithm argument.");
return TRUE;
}
"ORDEREDSUBJECT threading is currently not supported.");
return TRUE;
} else {
return TRUE;
}
args++;
/* charset */
"Invalid charset argument.");
return TRUE;
}
args++;
/* error in search arguments */
/* NOTE: syncing is allowed when returning UIDs */
else
} else {
}
return TRUE;
}