dont mark message as send on resend

This commit is contained in:
iNPUTmice 2014-09-23 11:49:17 +02:00
parent 12c2fde61b
commit b14f693c2e

View file

@ -664,8 +664,13 @@ public class XmppConnectionService extends Service {
}
}
if (packet != null) {
if (!account.getXmppConnection().getFeatures().sm()
&& message.getConversation().getMode() != Conversation.MODE_MULTI) {
markMessage(message, Message.STATUS_SEND);
} else {
markMessage(message, Message.STATUS_UNSEND);
}
sendMessagePacket(account, packet);
markMessage(message, Message.STATUS_SEND);
}
}