* add _DRAFTS_ to the userdata creator, and translate it apropriate into imap (mail...
[citadel.git] / citadel / room_ops.c
index c97beb1c24a125edaa5a606e94a650ccabdde55d..a4e6a82dbe0ba27b86aac3f97047a2abb7f02045 100644 (file)
@@ -977,6 +977,9 @@ void convert_room_name_macros(char *towhere, size_t maxlen) {
        else if (!strcasecmp(towhere, "_TRASH_")) {
                safestrncpy(towhere, USERTRASHROOM, maxlen);
        }
+       else if (!strcasecmp(towhere, "_DRAFTS_")) {
+               safestrncpy(towhere, USERDRAFTROOM, maxlen);
+       }
        else if (!strcasecmp(towhere, "_BITBUCKET_")) {
                safestrncpy(towhere, config.c_twitroom, maxlen);
        }