From 5c2f8defa58e886c3d017226a40b027b8cb78792 Mon Sep 17 00:00:00 2001 From: arnebv Date: Sun, 27 Jun 2021 18:34:02 +0200 Subject: [PATCH] ring during device discovery --- .../java/eu/siacs/conversations/xmpp/jingle/ToneManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/xmpp/jingle/ToneManager.java b/src/main/java/eu/siacs/conversations/xmpp/jingle/ToneManager.java index 60ac67f14..4fb9dee16 100644 --- a/src/main/java/eu/siacs/conversations/xmpp/jingle/ToneManager.java +++ b/src/main/java/eu/siacs/conversations/xmpp/jingle/ToneManager.java @@ -37,7 +37,7 @@ class ToneManager { private static ToneState of(final boolean isInitiator, final RtpEndUserState state, final Set media) { if (isInitiator) { - if (asList(RtpEndUserState.RINGING, RtpEndUserState.CONNECTING).contains(state)) { + if (asList(RtpEndUserState.FINDING_DEVICE, RtpEndUserState.RINGING, RtpEndUserState.CONNECTING).contains(state)) { return ToneState.RINGING; } if (state == RtpEndUserState.DECLINED_OR_BUSY) {