Fix a bug to delete email after send or forward
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
-- Part of FusionPBX
|
-- Part of FusionPBX
|
||||||
-- Copyright (C) 2013 - 2020 Mark J Crane <markjcrane@fusionpbx.com>
|
-- Copyright (C) 2013 - 2024 Mark J Crane <markjcrane@fusionpbx.com>
|
||||||
-- All rights reserved.
|
-- All rights reserved.
|
||||||
--
|
--
|
||||||
-- Redistribution and use in source and binary forms, with or without
|
-- Redistribution and use in source and binary forms, with or without
|
||||||
@@ -199,10 +199,11 @@
|
|||||||
link_address = http_protocol.."://"..domain_name..project_path;
|
link_address = http_protocol.."://"..domain_name..project_path;
|
||||||
|
|
||||||
--set proper delete status
|
--set proper delete status
|
||||||
if (voicemail_local_after_email == "false" and voicemail_local_after_forward == "false") then
|
local local_after_email = '';
|
||||||
local local_after_email = "false";
|
if (voicemail_local_after_email == "false" or voicemail_local_after_forward == "false") then
|
||||||
|
local_after_email = "false";
|
||||||
else
|
else
|
||||||
local local_after_email = "true";
|
local_after_email = "true";
|
||||||
end
|
end
|
||||||
|
|
||||||
--prepare the headers
|
--prepare the headers
|
||||||
|
|||||||
Reference in New Issue
Block a user