From b4983cfe04a15ea4a6cc6202e2a9a6dea198a0a6 Mon Sep 17 00:00:00 2001 From: Jacob MacElroy Date: Thu, 31 May 2018 18:58:47 +0000 Subject: [PATCH] No longer triggering calls for the Invited status of a poltergeist. --- resources/prosody-plugins/mod_muc_call.lua | 3 --- 1 file changed, 3 deletions(-) diff --git a/resources/prosody-plugins/mod_muc_call.lua b/resources/prosody-plugins/mod_muc_call.lua index 34254a876..ec3d026a9 100644 --- a/resources/prosody-plugins/mod_muc_call.lua +++ b/resources/prosody-plugins/mod_muc_call.lua @@ -16,7 +16,6 @@ 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" @@ -54,7 +53,6 @@ end -- Status | Event Type -- _________________________ -- "calling" | INVITE --- "Invited" | INVITE -- "ringing" | CANCEL -- "busy" | CANCEL -- "rejected" | CANCEL @@ -82,7 +80,6 @@ module:hook("muc-broadcast-presence", function (event) local switch = function(status) case = { - [invited_status] = function() invite() end, [calling_status] = function() invite() end, [ringing_status] = function() cancel() end, [busy_status] = function() cancel() end,