aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/services/XmppConnectionService.java
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-04-23 21:19:56 +0200
committerDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-04-23 21:19:56 +0200
commit18c183a7676e24fa3141a50f628688a0a690f259 (patch)
treeef4013832bce4b4cf2e6062eba12eab8b3cf44d9 /src/eu/siacs/conversations/services/XmppConnectionService.java
parent9a8e55acd16c10335f74eea5b7ad4e2a864e2ec4 (diff)
deny files with unknown file types
Diffstat (limited to '')
-rw-r--r--src/eu/siacs/conversations/services/XmppConnectionService.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/eu/siacs/conversations/services/XmppConnectionService.java b/src/eu/siacs/conversations/services/XmppConnectionService.java
index a58d80d53..b6930219f 100644
--- a/src/eu/siacs/conversations/services/XmppConnectionService.java
+++ b/src/eu/siacs/conversations/services/XmppConnectionService.java
@@ -423,6 +423,7 @@ public class XmppConnectionService extends Service {
convChangedListener.onConversationListChanged();
}
getFileBackend().copyImageToPrivateStorage(message, uri);
+ databaseBackend.createMessage(message);
message.setStatus(Message.STATUS_OFFERED);
if (convChangedListener!=null) {
convChangedListener.onConversationListChanged();