[evolution-data-server/imap-notify: 20/40] CamelIMAPXServer: Support the LIST-STATUS capability.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/imap-notify: 20/40] CamelIMAPXServer: Support the LIST-STATUS capability.
- Date: Thu, 12 Sep 2013 17:03:12 +0000 (UTC)
commit ca5a3e78c945c6712a4e1daa2e2ad429e2467593
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 5e5a05d..20cfb37 100644
--- a/camel/camel-imapx-server.c
+++ b/camel/camel-imapx-server.c
@@ -828,6 +828,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]