Cache Telegram avatars locally and refresh avatar file ids
This commit is contained in:
@@ -248,7 +248,7 @@ async function maybeHydrateContact(contactId: string, profile: ContactProfile) {
|
||||
}
|
||||
|
||||
const currentAvatar = asString(current.avatarUrl);
|
||||
if (profile.avatarUrl && !currentAvatar) {
|
||||
if (profile.avatarUrl && profile.avatarUrl !== currentAvatar) {
|
||||
updates.avatarUrl = profile.avatarUrl;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user