]> code.citadel.org Git - citadel.git/blobdiff - citadel/modules/imap/imap_metadata.c
* More license declarations
[citadel.git] / citadel / modules / imap / imap_metadata.c
index c206e7e45636d45b38acfe0d00f83f2980e34808..54f17ccb27883fdc03a8561ef0fe1db3130df52a 100644 (file)
@@ -5,6 +5,21 @@
  *
  * This is an implementation of the Bynari variant of the METADATA extension.
  *
+ * Copyright (c) 2007-2009 by the citadel.org team
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 3 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
 
@@ -228,6 +243,9 @@ void imap_getmetadata(int num_parms, char *parms[]) {
        else if (!strcasecmp(&CC->room.QRname[11], SENTITEMS)) {
                cprintf("mail.sentitems");
        }
+       else if (!strcasecmp(&CC->room.QRname[11], USERDRAFTROOM)) {
+               cprintf("mail.drafts");
+       }
        else if (!strcasecmp(&CC->room.QRname[11], USERCALENDARROOM)) {
                cprintf("event.default");
        }