aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/imap
diff options
context:
space:
mode:
authorGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2013-11-25 21:41:00 -0800
committerGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2013-11-25 21:41:00 -0800
commit7a7e4aec0128f0dfc9c570516251b3c05e6531ec (patch)
treea1a4595651d2803c649388b025161788828b213c /src/core/imap
parent882072cef6845db1d3d3d3999200bf6cdf4d55c6 (diff)
Fixed #465: returns correct value for modseq
Diffstat (limited to 'src/core/imap')
-rwxr-xr-xsrc/core/imap/MCIMAPSession.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/imap/MCIMAPSession.cc b/src/core/imap/MCIMAPSession.cc
index 491f18bf..593d8807 100755
--- a/src/core/imap/MCIMAPSession.cc
+++ b/src/core/imap/MCIMAPSession.cc
@@ -1926,7 +1926,13 @@ static void msg_att_handler(struct mailimap_msg_att * msg_att, void * context)
struct mailimap_extension_data * ext_data;
ext_data = att_item->att_data.att_extension_data;
- if (ext_data->ext_extension == &mailimap_extension_xgmlabels) {
+ if (ext_data->ext_extension == &mailimap_extension_condstore) {
+ struct mailimap_condstore_fetch_mod_resp * fetch_data;
+
+ fetch_data = (struct mailimap_condstore_fetch_mod_resp *) ext_data->ext_data;
+ msg->setModSeqValue(fetch_data->cs_modseq_value);
+ }
+ else if (ext_data->ext_extension == &mailimap_extension_xgmlabels) {
struct mailimap_msg_att_xgmlabels * cLabels;
Array * labels;
clistiter * cur;