Procházet zdrojové kódy

feat(call-flows): Removing cancel hook for ringing status.

master
Jacob MacElroy před 7 roky
rodič
revize
01899b1dfd
1 změnil soubory, kde provedl 0 přidání a 2 odebrání
  1. 0
    2
      resources/prosody-plugins/mod_muc_call.lua

+ 0
- 2
resources/prosody-plugins/mod_muc_call.lua Zobrazit soubor

@@ -17,7 +17,6 @@ end
17 17
 
18 18
 -- Status strings that trigger call events.
19 19
 local calling_status   = "calling"
20
-local ringing_status   = "ringing"
21 20
 local busy_status      = "busy"
22 21
 local rejected_status  = "rejected"
23 22
 local connected_status = "connected"
@@ -53,7 +52,6 @@ end
53 52
 --    Status      | Event Type
54 53
 --    _________________________
55 54
 --    "calling"   | INVITE
56 55
 --    "busy"      | CANCEL
57 56
 --    "rejected"  | CANCEL
58 57
 --    "connected" | CANCEL
@@ -93,7 +91,6 @@ module:hook("muc-broadcast-presence", function (event)
93 91
 	local switch = function(status)
94 92
 	   case = {
95 93
 		  [calling_status]   = function() invite() end,
96
-		  [ringing_status]   = function() cancel() end,
97 94
 		  [busy_status]      = function() cancel() end,
98 95
 		  [rejected_status]  = function() cancel() end,
99 96
 		  [connected_status] = function() cancel() end

Načítá se…
Zrušit
Uložit