Message Requests: Fix click of blurred profile avatar

This commit is contained in:
Scott Nonnenberg
2024-09-05 04:20:08 +10:00
committed by GitHub
parent cd44a7a033
commit 970a033847

View File

@@ -34,6 +34,7 @@ import {
getAvatar,
getRawAvatarPath,
getLocalAvatarUrl,
getLocalProfileAvatarUrl,
} from '../util/avatarUtils';
import { getDraftPreview } from '../util/getDraftPreview';
import { hasDraft } from '../util/hasDraft';
@@ -5270,7 +5271,7 @@ export class ConversationModel extends window.Backbone
}
unblurAvatar(): void {
const avatarUrl = getRawAvatarPath(this.attributes);
const avatarUrl = getLocalProfileAvatarUrl(this.attributes);
if (avatarUrl) {
this.set('unblurredAvatarUrl', avatarUrl);
} else {