aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-05-07 12:58:57 +0200
committerDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-05-07 12:58:57 +0200
commit12a3865c4723ed98987fe159fd43d90db264b791 (patch)
treee0c34ee8b670ea6aa78eb9b3024e0c540dc055c2 /src
parent955b7dbc7e56e2bf631a5ccf10ad306938511af4 (diff)
correct status after error iq
Diffstat (limited to 'src')
-rw-r--r--src/eu/siacs/conversations/xmpp/jingle/JingleConnection.java4
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 f3bd9a0c7..3c9120ec2 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;
}
}