Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Changing the status strings for call flows to be lowercased where possible.

Jacob MacElroy9e2a10108914
diff --git a/resources/prosody-plugins/mod_muc_call.lua b/resources/prosody-plugins/mod_muc_call.lua
index 280d71df10..34254a876e 100644
--- a/resources/prosody-plugins/mod_muc_call.lua
+++ b/resources/prosody-plugins/mod_muc_call.lua
@@ -16,11 +16,11 @@ if not muc_domain_base then
end
-- Status strings that trigger call events.
-local invited_status = "Invited"
-local calling_status = "Calling"
-local ringing_status = "Ringing"
-local busy_status = "Busy"
-local rejected_status = "Rejected"
+local invited_status = "Invited"
+local calling_status = "calling"
+local ringing_status = "ringing"
+local busy_status = "busy"
+local rejected_status = "rejected"
local connected_status = "connected"
@@ -53,11 +53,11 @@ end
-- -------------------------
-- Status | Event Type
-- _________________________
--- "Calling" | INVITE
+-- "calling" | INVITE
-- "Invited" | INVITE
--- "Ringing" | CANCEL
--- "Busy" | CANCEL
--- "Rejected" | CANCEL
+-- "ringing" | CANCEL
+-- "busy" | CANCEL
+-- "rejected" | CANCEL
-- "connected" | CANCEL
module:hook("muc-broadcast-presence", function (event)
-- Detect if the presence is for a poltergeist or not.