Bug #518876 - Does not display recent messages in nntp
authorMilan Crha <mcrha@redhat.com>
Thu, 1 Apr 2010 12:18:21 +0000 (14:18 +0200)
committerMilan Crha <mcrha@redhat.com>
Thu, 1 Apr 2010 12:18:21 +0000 (14:18 +0200)
camel/providers/nntp/camel-nntp-summary.c

index 0da4729..fbbb3c9 100644 (file)
@@ -271,7 +271,10 @@ add_range_xover(CamelNNTPSummary *cns, CamelNNTPStore *store, guint high, guint
 
        camel_operation_start(NULL, _("%s: Scanning new messages"), ((CamelService *)store)->url->host);
 
-       ret = camel_nntp_raw_command_auth(store, ex, &line, "xover %r", low, high);
+       ret = camel_nntp_raw_command_auth (store, ex, &line, "over %r", low, high);
+       if (ret != 224)
+               ret = camel_nntp_raw_command_auth (store, ex, &line, "xover %r", low, high);
+
        if (ret != 224) {
                camel_operation_end(NULL);
                if (ret != -1)