~singpolyma/cheogram-android

a345ef4c06d547dd997a688f930277096cebd4b8 — Stephen Paul Weber 2 years ago cb2b6a9 2.10.5-2
Fix NPE
1 files changed, 1 insertions(+), 1 deletions(-)

M src/main/java/eu/siacs/conversations/xmpp/jingle/WebRTCWrapper.java
M src/main/java/eu/siacs/conversations/xmpp/jingle/WebRTCWrapper.java => src/main/java/eu/siacs/conversations/xmpp/jingle/WebRTCWrapper.java +1 -1
@@ 533,7 533,7 @@ public class WebRTCWrapper {
    }

    public boolean applyDtmfTone(String tone) {
        if (toneManager == null || peerConnection.getSenders().isEmpty()) {
        if (toneManager == null || peerConnection == null || peerConnection.getSenders().isEmpty()) {
            return false;
        }
        peerConnection.getSenders().get(0).dtmf().insertDtmf(tone, TONE_DURATION, 100);