dont mark message as send on resend
This commit is contained in:
parent
12c2fde61b
commit
b14f693c2e
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue