소스 검색

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

master
Jacob MacElroy 7 년 전
부모
커밋
01899b1dfd
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0
    2
      resources/prosody-plugins/mod_muc_call.lua

+ 0
- 2
resources/prosody-plugins/mod_muc_call.lua 파일 보기

@@ -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

Loading…
취소
저장