This commit is contained in:
MrNewb committed 2025-05-11 20:36:07 -04:00
1 parent 5e016afc25
commit 567bd7a824
5 files changed
+5 -1

No files matched your search

+1
View File
@@ -11,6 +11,7 @@ Phone = Phone or {}
---@return boolean
---@diagnostic disable-next-line: duplicate-set-field
Phone.SendEmail = function(email, title, message)
--<-- TODO swap to internal callback system
local success = lib.callback.await('community_bridge:Callback:okokPhone:sendEmail', false, email, title, message) --[[ @as boolean ]]
return success
end
+1 -1
View File
@@ -49,7 +49,7 @@ Phone.SendEmail = function(src, email, title, message)
return success
end
--<-- TODO swap to internal callback system
lib.callback.registry('community_bridge:Callback:okokPhone:sendEmail', function(src, email, title, message)
return Phone.SendEmail(src, email, title, message)
end)