Fix a problem with DND when Follow Me hasn't been used for a particular extension.
This commit is contained in:
parent
aeba29f371
commit
024f536037
|
|
@ -124,7 +124,7 @@
|
|||
|
||||
--disable follow me
|
||||
if (follow_me_uuid ~= nil) then
|
||||
if (enabled == "true") then
|
||||
if (string.len(follow_me_uuid) > 0 and enabled == "true") then
|
||||
sql = "update v_follow_me set ";
|
||||
sql = sql .. "follow_me_enabled = 'false' ";
|
||||
sql = sql .. "where domain_uuid = '"..domain_uuid.."' ";
|
||||
|
|
|
|||
Loading…
Reference in New Issue