aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/services
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-04-22 18:46:40 +0200
committerDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-04-22 18:46:40 +0200
commit9a8e55acd16c10335f74eea5b7ad4e2a864e2ec4 (patch)
tree2387267b082c4eecf76dc37c761138af66cd6682 /src/eu/siacs/conversations/services
parentaa5f775fc79ca7b1912c9d7fba759e7efb09fa2b (diff)
added download button for images not accepted automatically
Diffstat (limited to 'src/eu/siacs/conversations/services')
-rw-r--r--src/eu/siacs/conversations/services/XmppConnectionService.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/eu/siacs/conversations/services/XmppConnectionService.java b/src/eu/siacs/conversations/services/XmppConnectionService.java
index 7c241f3de..a58d80d53 100644
--- a/src/eu/siacs/conversations/services/XmppConnectionService.java
+++ b/src/eu/siacs/conversations/services/XmppConnectionService.java
@@ -423,8 +423,7 @@ public class XmppConnectionService extends Service {
convChangedListener.onConversationListChanged();
}
getFileBackend().copyImageToPrivateStorage(message, uri);
- message.setStatus(Message.STATUS_UNSEND);
- databaseBackend.createMessage(message);
+ message.setStatus(Message.STATUS_OFFERED);
if (convChangedListener!=null) {
convChangedListener.onConversationListChanged();
}