[geary/wip/789271-broken-status: 2/3] Upper-case the status data type literals sent to the server. Bug 789271.



commit fe32d2f62f9b9c3ca594b96eeaae6eccff332092
Author: Michael James Gratton <mike vee net>
Date:   Tue Oct 24 15:58:57 2017 +1100

    Upper-case the status data type literals sent to the server. Bug 789271.

 src/engine/imap/message/imap-status-data-type.vala |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/engine/imap/message/imap-status-data-type.vala 
b/src/engine/imap/message/imap-status-data-type.vala
index bebb37a..4254830 100644
--- a/src/engine/imap/message/imap-status-data-type.vala
+++ b/src/engine/imap/message/imap-status-data-type.vala
@@ -26,19 +26,19 @@ public enum Geary.Imap.StatusDataType {
     public string to_string() {
         switch (this) {
             case MESSAGES:
-                return "messages";
+                return "MESSAGES";
             
             case RECENT:
-                return "recent";
+                return "RECENT";
             
             case UIDNEXT:
-                return "uidnext";
+                return "UIDNEXT";
             
             case UIDVALIDITY:
-                return "uidvalidity";
+                return "UIDVALIDITY";
             
             case UNSEEN:
-                return "unseen";
+                return "UNSEEN";
             
             default:
                 assert_not_reached();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]