diff options
author | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-04-06 15:34:08 +0200 |
---|---|---|
committer | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-04-06 15:34:08 +0200 |
commit | c30bf75a5d77fab21480e04ce18b46d6b2826295 (patch) | |
tree | b0eed8c7cf56483c90047eb92f53e18d9a1a6f51 /src/eu/siacs/conversations/ui/ConversationActivity.java | |
parent | 9fc7a1b980863955a139193ded0fef5edfbad296 (diff) |
gui for images
Diffstat (limited to '')
-rw-r--r-- | src/eu/siacs/conversations/ui/ConversationActivity.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/eu/siacs/conversations/ui/ConversationActivity.java b/src/eu/siacs/conversations/ui/ConversationActivity.java index 82b33499..85186e9b 100644 --- a/src/eu/siacs/conversations/ui/ConversationActivity.java +++ b/src/eu/siacs/conversations/ui/ConversationActivity.java @@ -494,10 +494,7 @@ public class ConversationActivity extends XmppActivity { selectedFragment.hidePgpPassphraseBox(); } } else if (requestCode == ATTACH_FILE) { - FileBackend backend = xmppConnectionService.getFileBackend(); - File file = backend.copyImageToPrivateStorage(getSelectedConversation(), data.getData()); - Log.d(LOGTAG,"new file"+file.getAbsolutePath()); - + xmppConnectionService.attachImageToConversation(getSelectedConversation(), data.getData()); } } } |