From 7466d125056307a6c2a767a0e4a95b77343aa1f2 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Sat, 22 May 2021 19:37:20 +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) {