Update directory.lua

This commit is contained in:
FusionPBX 2019-02-20 10:34:19 -07:00 committed by GitHub
parent ebeabc958b
commit 741d53288b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -357,7 +357,7 @@
if (row.follow_me_uuid ~= nil and string.len(row.follow_me_uuid) > 0) then if (row.follow_me_uuid ~= nil and string.len(row.follow_me_uuid) > 0) then
follow_me_uuid = row.follow_me_uuid; follow_me_uuid = row.follow_me_uuid;
follow_me_enabled = row.follow_me_enabled; follow_me_enabled = row.follow_me_enabled;
follow_me_destinations= row.follow_me_destinations; --follow_me_destinations= row.follow_me_destinations;
end end
-- check matching UserID and AuthName -- check matching UserID and AuthName
@ -633,9 +633,9 @@
if (follow_me_enabled ~= nil) and (string.len(follow_me_enabled) > 0) then if (follow_me_enabled ~= nil) and (string.len(follow_me_enabled) > 0) then
table.insert(xml, [[ <variable name="follow_me_enabled" value="]] .. follow_me_enabled .. [["/>]]); table.insert(xml, [[ <variable name="follow_me_enabled" value="]] .. follow_me_enabled .. [["/>]]);
end end
if (follow_me_destinations ~= nil) and (string.len(follow_me_destinations) > 0) then --if (follow_me_destinations ~= nil) and (string.len(follow_me_destinations) > 0) then
table.insert(xml, [[ <variable name="follow_me_destinations" value="]] .. follow_me_destinations .. [["/>]]); -- table.insert(xml, [[ <variable name="follow_me_destinations" value="]] .. follow_me_destinations .. [["/>]]);
end --end
if (do_not_disturb ~= nil) and (string.len(do_not_disturb) > 0) then if (do_not_disturb ~= nil) and (string.len(do_not_disturb) > 0) then
table.insert(xml, [[ <variable name="do_not_disturb" value="]] .. do_not_disturb .. [["/>]]); table.insert(xml, [[ <variable name="do_not_disturb" value="]] .. do_not_disturb .. [["/>]]);
end end