diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-09-09 13:56:30 +0200 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-09-09 13:56:30 +0200 |
commit | facb1242b6694ea2d4ed5c7dbd92e4a96d288ea3 (patch) | |
tree | 6c1d4f7e470bd365fc238988e7da65922272af11 /src | |
parent | d92e8381db906c20ceb7f91914d63d514a873c8a (diff) |
don't reset images from sending to waiting
Diffstat (limited to 'src')
-rw-r--r-- | src/eu/siacs/conversations/services/XmppConnectionService.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/eu/siacs/conversations/services/XmppConnectionService.java b/src/eu/siacs/conversations/services/XmppConnectionService.java index 247f602b..5c5288de 100644 --- a/src/eu/siacs/conversations/services/XmppConnectionService.java +++ b/src/eu/siacs/conversations/services/XmppConnectionService.java @@ -1502,7 +1502,8 @@ public class XmppConnectionService extends Service { for (Conversation conversation : getConversations()) { if (conversation.getAccount() == account) { 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); } } |