From 08755e56a5bf861c97eefd545f629ac67a804275 Mon Sep 17 00:00:00 2001 From: iNPUTmice Date: Tue, 5 Aug 2014 13:00:06 +0200 Subject: show own avatar after publication. no persistancy yet --- src/eu/siacs/conversations/services/XmppConnectionService.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/eu/siacs/conversations/services/XmppConnectionService.java') diff --git a/src/eu/siacs/conversations/services/XmppConnectionService.java b/src/eu/siacs/conversations/services/XmppConnectionService.java index 370d8304..8c964517 100644 --- a/src/eu/siacs/conversations/services/XmppConnectionService.java +++ b/src/eu/siacs/conversations/services/XmppConnectionService.java @@ -1214,6 +1214,7 @@ public class XmppConnectionService extends Service { @Override public void onIqPacketReceived(Account account, IqPacket result) { if (result.getType() == IqPacket.TYPE_RESULT) { + account.setAvatar(avatar.getFilename()); callback.success(avatar); } else { callback.error(R.string.error_publish_avatar_server_reject, avatar); -- cgit v1.2.3