diff options
author | Ted Trask <ttrask01@yahoo.com> | 2016-07-13 20:04:01 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2016-07-13 20:04:01 +0000 |
commit | cbf0abacbca90ec956f67fb160c492799e6a14aa (patch) | |
tree | bb42439d495e49aa06fca5fe2c6f8af35a55597d | |
parent | a7ebda831d92420c3fbe9505b6032007bfae5df9 (diff) | |
download | acf-freeswitch-vmail-cbf0abacbca90ec956f67fb160c492799e6a14aa.tar.bz2 acf-freeswitch-vmail-cbf0abacbca90ec956f67fb160c492799e6a14aa.tar.xz |
Fix deletion of temporary user in email_message
-rw-r--r-- | vmail-model.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vmail-model.lua b/vmail-model.lua index 4b1b885..f410a43 100644 --- a/vmail-model.lua +++ b/vmail-model.lua @@ -613,7 +613,7 @@ mymodule.email_message = function(self, emailrequest) settings.value["vm-mailto"].value = emailrequest.value.address.value settings.value["vm-email-all-messages"].value = true settings.value["vm-attach-file"].value = true - settings.value["vm-keep-local-after-email"].value = false + settings.value["vm-keep-local-after-email"].value = true -- this allows us to delete the folder in delete_user if settings.value["vm-password"] then settings.value["vm-password"].value = "1234" end if settings.value["vm-password-confirm"] then settings.value["vm-password-confirm"].value = "1234" end settings = mymodule.create_usersettings(self, settings) |