From 86241a260aed24d35cd831c7d6379c786e4f62b8 Mon Sep 17 00:00:00 2001 From: iNPUTmice Date: Mon, 17 Nov 2014 21:28:16 +0100 Subject: clear avatar cache with new roster push from server --- src/main/java/eu/siacs/conversations/parser/IqParser.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main/java/eu/siacs') diff --git a/src/main/java/eu/siacs/conversations/parser/IqParser.java b/src/main/java/eu/siacs/conversations/parser/IqParser.java index adcb1108..b38cdc72 100644 --- a/src/main/java/eu/siacs/conversations/parser/IqParser.java +++ b/src/main/java/eu/siacs/conversations/parser/IqParser.java @@ -50,8 +50,10 @@ public class IqParser extends AbstractParser implements OnIqPacketReceived { contact.parseSubscriptionFromElement(item); } } + mXmppConnectionService.getAvatarService().clear(contact); } } + mXmppConnectionService.updateConversationUi(); mXmppConnectionService.updateRosterUi(); } -- cgit v1.2.3