aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-09-09 13:56:30 +0200
committeriNPUTmice <daniel@gultsch.de>2014-09-09 13:56:30 +0200
commitfacb1242b6694ea2d4ed5c7dbd92e4a96d288ea3 (patch)
tree6c1d4f7e470bd365fc238988e7da65922272af11
parentd92e8381db906c20ceb7f91914d63d514a873c8a (diff)
don't reset images from sending to waiting
Diffstat (limited to '')
-rw-r--r--src/eu/siacs/conversations/services/XmppConnectionService.java3
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);
}
}