aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/services/XmppConnectionService.java
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-08-16 09:44:37 +0200
committeriNPUTmice <daniel@gultsch.de>2014-08-16 09:44:37 +0200
commit5aa8afdc1c0c60a47f8e93076697ad65e702764d (patch)
treefe7c0c14c1a5040d92058a0c5f6a2749d76309b0 /src/eu/siacs/conversations/services/XmppConnectionService.java
parent32c3dd4f4ada85b48551bcf7e17eafb63857237f (diff)
some improvements for the edit account activity
Diffstat (limited to 'src/eu/siacs/conversations/services/XmppConnectionService.java')
-rw-r--r--src/eu/siacs/conversations/services/XmppConnectionService.java1
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 01915806..2c27315e 100644
--- a/src/eu/siacs/conversations/services/XmppConnectionService.java
+++ b/src/eu/siacs/conversations/services/XmppConnectionService.java
@@ -1287,6 +1287,7 @@ public class XmppConnectionService extends Service {
if (avatar!=null) {
avatar.owner = account.getJid();
if (fileBackend.isAvatarCached(avatar)) {
+ account.setAvatar(avatar.getFilename());
callback.success(avatar);
} else {
fetchAvatar(account, avatar,callback);