correct status after error iq

This commit is contained in:
Daniel Gultsch 2014-05-07 12:58:57 +02:00
parent 955b7dbc7e
commit 12a3865c47
1 changed files with 3 additions and 1 deletions

View File

@ -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;
}
}