don't reset images from sending to waiting
This commit is contained in:
parent
d92e8381db
commit
facb1242b6
|
@ -1502,7 +1502,8 @@ public class XmppConnectionService extends Service {
|
||||||
for (Conversation conversation : getConversations()) {
|
for (Conversation conversation : getConversations()) {
|
||||||
if (conversation.getAccount() == account) {
|
if (conversation.getAccount() == account) {
|
||||||
for (Message message : conversation.getMessages()) {
|
for (Message message : conversation.getMessages()) {
|
||||||
if (message.getStatus() == Message.STATUS_UNSEND) {
|
if (message.getType() != Message.TYPE_IMAGE
|
||||||
|
&& message.getStatus() == Message.STATUS_UNSEND) {
|
||||||
markMessage(message, Message.STATUS_WAITING);
|
markMessage(message, Message.STATUS_WAITING);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue