aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/parser/MessageParser.java
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-10-21 15:26:17 +0200
committeriNPUTmice <daniel@gultsch.de>2014-10-21 15:26:17 +0200
commita56ee63a3ebe6c224b967d4b40ab2ccf4386dbed (patch)
tree2871ff98793cded1f253be55f093ee989a04bcd9 /src/eu/siacs/conversations/parser/MessageParser.java
parent0d767c39711f171d94d4682f355370d4bdd225ae (diff)
update ui when new avatar was found
Diffstat (limited to '')
-rw-r--r--src/eu/siacs/conversations/parser/MessageParser.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/eu/siacs/conversations/parser/MessageParser.java b/src/eu/siacs/conversations/parser/MessageParser.java
index e4be25bf..b5e14305 100644
--- a/src/eu/siacs/conversations/parser/MessageParser.java
+++ b/src/eu/siacs/conversations/parser/MessageParser.java
@@ -350,12 +350,16 @@ public class MessageParser extends AbstractParser implements
}
mXmppConnectionService.getAvatarService().clear(
account);
+ mXmppConnectionService.updateConversationUi();
+ mXmppConnectionService.updateAccountUi();
} else {
Contact contact = account.getRoster().getContact(
from);
contact.setAvatar(avatar.getFilename());
mXmppConnectionService.getAvatarService().clear(
contact);
+ mXmppConnectionService.updateConversationUi();
+ mXmppConnectionService.updateRosterUi();
}
} else {
mXmppConnectionService.fetchAvatar(account, avatar);