mark sent images as sent_received instead of sent

fixed #842
This commit is contained in:
Daniel Gultsch 2015-01-06 18:44:08 +01:00
parent 8a3ccfd456
commit 353f4e38bb

View file

@ -707,8 +707,7 @@ public class JingleConnection implements Downloadable {
private void receiveSuccess() { private void receiveSuccess() {
this.mJingleStatus = JINGLE_STATUS_FINISHED; this.mJingleStatus = JINGLE_STATUS_FINISHED;
this.mXmppConnectionService.markMessage(this.message, this.mXmppConnectionService.markMessage(this.message,Message.STATUS_SEND_RECEIVED);
Message.STATUS_SEND);
this.disconnectSocks5Connections(); this.disconnectSocks5Connections();
if (this.transport != null && this.transport instanceof JingleInbandTransport) { if (this.transport != null && this.transport instanceof JingleInbandTransport) {
this.transport.disconnect(); this.transport.disconnect();