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
1 changed files with 6 additions and 1 deletions

View File

@ -664,8 +664,13 @@ public class XmppConnectionService extends Service {
}
}
if (packet != null) {
sendMessagePacket(account, packet);
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);
}
}