diff options
author | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-04-23 21:19:56 +0200 |
---|---|---|
committer | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-04-23 21:19:56 +0200 |
commit | 18c183a7676e24fa3141a50f628688a0a690f259 (patch) | |
tree | ef4013832bce4b4cf2e6062eba12eab8b3cf44d9 /src/eu/siacs/conversations/services/XmppConnectionService.java | |
parent | 9a8e55acd16c10335f74eea5b7ad4e2a864e2ec4 (diff) |
deny files with unknown file types
Diffstat (limited to 'src/eu/siacs/conversations/services/XmppConnectionService.java')
-rw-r--r-- | src/eu/siacs/conversations/services/XmppConnectionService.java | 1 |
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 a58d80d5..b6930219 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(); |