correct status after error iq
This commit is contained in:
parent
955b7dbc7e
commit
12a3865c47
|
@ -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) {
|
||||||
mXmppConnectionService.markMessage(message, Message.STATUS_SEND_FAILED);
|
if (initiator.equals(account.getFullJid())) {
|
||||||
|
mXmppConnectionService.markMessage(message, Message.STATUS_SEND_FAILED);
|
||||||
|
}
|
||||||
status = STATUS_FAILED;
|
status = STATUS_FAILED;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue