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) {
|
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);
|
sendMessagePacket(account, packet);
|
||||||
markMessage(message, Message.STATUS_SEND);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue