[evolution-data-server] CamelIMAPXServer: Support the LIST-STATUS capability.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] CamelIMAPXServer: Support the LIST-STATUS capability.
- Date: Sun, 27 Oct 2013 14:54:53 +0000 (UTC)
commit 69d9c5859ff4865f3042d3c9cd936a4213d4bf46
Author: Matthew Barnes <mbarnes redhat com>
Date: Tue Sep 3 16:09:12 2013 -0400
CamelIMAPXServer: Support the LIST-STATUS capability.
http://tools.ietf.org/html/rfc5819
Now that untagged LIST and STATUS responses are processed independently
of any tagged commands in progress, utilizing LIST-STATUS is trivial.
camel/camel-imapx-server.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/camel/camel-imapx-server.c b/camel/camel-imapx-server.c
index 3039c53..e673143 100644
--- a/camel/camel-imapx-server.c
+++ b/camel/camel-imapx-server.c
@@ -831,6 +831,10 @@ imapx_server_stash_command_arguments (CamelIMAPXServer *is)
g_free (is->priv->list_return_opts);
if (CAMEL_IMAPX_HAVE_CAPABILITY (is->cinfo, LIST_EXTENDED)) {
buffer = g_string_new ("CHILDREN SUBSCRIBED");
+ if (CAMEL_IMAPX_HAVE_CAPABILITY (is->cinfo, LIST_STATUS))
+ g_string_append_printf (
+ buffer, " STATUS (%s)",
+ is->priv->status_data_items);
is->priv->list_return_opts = g_string_free (buffer, FALSE);
} else {
is->priv->list_return_opts = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]