From f8b4d5f338aede361c2562379d816b45f7bed3b8 Mon Sep 17 00:00:00 2001 From: iNPUTmice Date: Tue, 5 Aug 2014 01:36:17 +0200 Subject: publish avatars --- src/eu/siacs/conversations/persistance/FileBackend.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/eu/siacs/conversations/persistance') diff --git a/src/eu/siacs/conversations/persistance/FileBackend.java b/src/eu/siacs/conversations/persistance/FileBackend.java index 8895a2c8..9a94329a 100644 --- a/src/eu/siacs/conversations/persistance/FileBackend.java +++ b/src/eu/siacs/conversations/persistance/FileBackend.java @@ -261,7 +261,7 @@ public class FileBackend { mDigestOutputStream.write(avatar.getImageAsBytes()); mDigestOutputStream.flush(); mDigestOutputStream.close(); - Log.d("xmppService","sha1sum after write: "+CryptoHelper.bytesToHex(digest.digest())); + avatar.size = file.length(); } catch (FileNotFoundException e) { } catch (IOException e) { -- cgit v1.2.3