From 86241a260aed24d35cd831c7d6379c786e4f62b8 Mon Sep 17 00:00:00 2001 From: iNPUTmice Date: Mon, 17 Nov 2014 21:28:16 +0100 Subject: [PATCH] clear avatar cache with new roster push from server --- src/main/java/eu/siacs/conversations/parser/IqParser.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/eu/siacs/conversations/parser/IqParser.java b/src/main/java/eu/siacs/conversations/parser/IqParser.java index adcb11080..b38cdc722 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(); }