[evolution-data-server/imap-notify: 18/23] CamelIMAPXServer: Support the LIST-STATUS capability.



commit 6c91cc9eeeedf2ad8a0aa874ab64de66949c2d28
Author: Matthew Barnes <mbarnes redhat com>
Date:   Tue Sep 3 16:09:12 2013 -0400

    CamelIMAPXServer: Support the LIST-STATUS capability.
    
    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 4bdf644..c65a990 100644
--- a/camel/camel-imapx-server.c
+++ b/camel/camel-imapx-server.c
@@ -854,6 +854,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]