diff --git a/resources/install/scripts/do_not_disturb.lua b/resources/install/scripts/do_not_disturb.lua index 00d3a24c9b..9b7666b156 100644 --- a/resources/install/scripts/do_not_disturb.lua +++ b/resources/install/scripts/do_not_disturb.lua @@ -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.."' ";