don't reset images from sending to waiting

This commit is contained in:
iNPUTmice 2014-09-09 13:56:30 +02:00
parent d92e8381db
commit facb1242b6
1 changed files with 2 additions and 1 deletions

View File

@ -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);
}
}