correct status after error iq

This commit is contained in:
Daniel Gultsch 2014-05-07 12:58:57 +02:00
parent 955b7dbc7e
commit 12a3865c47

View file

@ -67,7 +67,9 @@ public class JingleConnection {
@Override @Override
public void onIqPacketReceived(Account account, IqPacket packet) { public void onIqPacketReceived(Account account, IqPacket packet) {
if (packet.getType() == IqPacket.TYPE_ERROR) { if (packet.getType() == IqPacket.TYPE_ERROR) {
if (initiator.equals(account.getFullJid())) {
mXmppConnectionService.markMessage(message, Message.STATUS_SEND_FAILED); mXmppConnectionService.markMessage(message, Message.STATUS_SEND_FAILED);
}
status = STATUS_FAILED; status = STATUS_FAILED;
} }
} }