diff options
author | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-05-07 12:58:57 +0200 |
---|---|---|
committer | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-05-07 12:58:57 +0200 |
commit | 12a3865c4723ed98987fe159fd43d90db264b791 (patch) | |
tree | e0c34ee8b670ea6aa78eb9b3024e0c540dc055c2 /src/eu/siacs | |
parent | 955b7dbc7e56e2bf631a5ccf10ad306938511af4 (diff) |
correct status after error iq
Diffstat (limited to 'src/eu/siacs')
-rw-r--r-- | src/eu/siacs/conversations/xmpp/jingle/JingleConnection.java | 4 |
1 files changed, 3 insertions, 1 deletions
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; } } |