mirror of
https://github.com/oxen-io/session-android.git
synced 2023-12-14 02:53:01 +01:00
fix: fixes the incoming hangup logic for linked devices
This commit is contained in:
parent
d8283a801f
commit
3b1ee2d28b
1 changed files with 1 additions and 1 deletions
|
@ -546,7 +546,7 @@ class WebRtcCallService: Service(), CallManager.WebRtcListener {
|
|||
private fun handleResponseMessage(intent: Intent) {
|
||||
try {
|
||||
val recipient = getRemoteRecipient(intent)
|
||||
if (callManager.isCurrentUser(recipient) && callManager.currentConnectionState in CallState.OUTGOING_STATES) {
|
||||
if (callManager.isCurrentUser(recipient) && callManager.currentConnectionState in CallState.CAN_DECLINE_STATES) {
|
||||
handleLocalHangup(intent)
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue