getAvatar should take a true param when retrieving the old image

cusax-fix
Emil Ivov 18 years ago
parent 0c40c5109a
commit 0fb982f41c

@ -841,7 +841,7 @@ public void changeMetaContactAvatar(MetaContact metaContact,
metaContact + " is not a MetaContactImpl instance.");
}
byte[] oldAvatar = metaContact.getAvatar();
byte[] oldAvatar = metaContact.getAvatar(true);
((MetaContactImpl)metaContact).storeAvatar(protoContact, newAvatar);
fireMetaContactPropertyChangeEvent(new MetaContactAvatarUpdate(
@ -2090,7 +2090,9 @@ public void subscriptionResolved(SubscriptionEvent evt)
.getSourceContact());
if(mc != null)
{
mc.getAvatar();
}
}
/**

Loading…
Cancel
Save