]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
expire: Mailbox names should be written to dict using their virtual name.
authorTimo Sirainen <tss@iki.fi>
Fri, 16 Oct 2009 01:07:46 +0000 (21:07 -0400)
committerTimo Sirainen <tss@iki.fi>
Fri, 16 Oct 2009 01:07:46 +0000 (21:07 -0400)
--HG--
branch : HEAD

src/plugins/expire/expire-plugin.c

index 54ca3027a190fa871aaa8fcb061d6d3a80459970..5ab3900f3f7c40f2a0220b9cfc789b5c34c738bc 100644 (file)
@@ -130,8 +130,7 @@ expire_mailbox_transaction_commit(struct mailbox_transaction_context *t,
 
                key = t_strconcat(DICT_EXPIRE_PREFIX,
                                  box->storage->user->username, "/",
-                                 mailbox_get_namespace(box)->prefix,
-                                 box->name, NULL);
+                                 mailbox_get_vname(box), NULL);
                if (xt->first_expunged) {
                        if (new_stamp == 0 && xt->saves)
                                new_stamp = ioloop_time;