let IMAP's join() method use Object[]'s rather than String[]'s
[org.ibex.mail.git] / src / org / ibex / mail / IMAP.java
index 81f1820..2880113 100644 (file)
@@ -367,7 +367,7 @@ public class IMAP {
                         println("* OK [UNSEEN " + api.unseen(mailbox) + "]");
                         println("* OK [UIDVALIDITY " + api.uidValidity(mailbox) + "] UIDs valid");
                         println("* OK [UIDNEXT " + api.uidNext(mailbox) + "]");
-                        println("* OK [PERMANENTFLAGS (\\Seen)]");
+                        println("* OK [PERMANENTFLAGS (\\Answered \\Flagged \\Deleted \\Seen \\Draft)]");
                         selected = true;
                         break; }
                     case STATUS: {
@@ -916,7 +916,7 @@ public class IMAP {
             }
             return ret.toString();
         }
-        private static String join(String delimit, String[] stuff) {
+        private static String join(String delimit, Object[] stuff) {
             StringBuffer ret = new StringBuffer();
             for(int i=0; i<stuff.length; i++) {
                 ret.append(stuff[i]);