diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-10-26 20:18:57 +0100 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-10-26 20:18:57 +0100 |
commit | b045dea5497b53c775ea3c5748d640066a088e9a (patch) | |
tree | 9eebb01996c64929de0b781ffcf56804be065d6a /src/eu/siacs/conversations/http | |
parent | d86b7f31928a26c66d570754dafec5f63d2edd40 (diff) |
set divider for image meta information to '|' to not conflict with URL. breaks images downloaded in between 0.7.3 and now
Diffstat (limited to '')
-rw-r--r-- | src/eu/siacs/conversations/http/HttpConnection.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eu/siacs/conversations/http/HttpConnection.java b/src/eu/siacs/conversations/http/HttpConnection.java index 9b04decc..29837880 100644 --- a/src/eu/siacs/conversations/http/HttpConnection.java +++ b/src/eu/siacs/conversations/http/HttpConnection.java @@ -244,8 +244,8 @@ public class HttpConnection implements Downloadable { BitmapFactory.decodeFile(file.getAbsolutePath(), options); int imageHeight = options.outHeight; int imageWidth = options.outWidth; - message.setBody(mUrl.toString() + "," + file.getSize() + ',' - + imageWidth + ',' + imageHeight); + message.setBody(mUrl.toString() + "|" + file.getSize() + '|' + + imageWidth + '|' + imageHeight); message.setType(Message.TYPE_IMAGE); mXmppConnectionService.updateMessage(message); } |