From 12a3865c4723ed98987fe159fd43d90db264b791 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Wed, 7 May 2014 12:58:57 +0200 Subject: correct status after error iq --- src/eu/siacs/conversations/xmpp/jingle/JingleConnection.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/eu/siacs/conversations/xmpp/jingle') diff --git a/src/eu/siacs/conversations/xmpp/jingle/JingleConnection.java b/src/eu/siacs/conversations/xmpp/jingle/JingleConnection.java index f3bd9a0c..3c9120ec 100644 --- a/src/eu/siacs/conversations/xmpp/jingle/JingleConnection.java +++ b/src/eu/siacs/conversations/xmpp/jingle/JingleConnection.java @@ -67,7 +67,9 @@ public class JingleConnection { @Override public void onIqPacketReceived(Account account, IqPacket packet) { if (packet.getType() == IqPacket.TYPE_ERROR) { - mXmppConnectionService.markMessage(message, Message.STATUS_SEND_FAILED); + if (initiator.equals(account.getFullJid())) { + mXmppConnectionService.markMessage(message, Message.STATUS_SEND_FAILED); + } status = STATUS_FAILED; } } -- cgit v1.2.3