From 3c02db35716a09d1656d03cb7dc24f8b52231119 Mon Sep 17 00:00:00 2001 From: automated-signal <37887102+automated-signal@users.noreply.github.com> Date: Wed, 4 Sep 2024 13:32:23 -0500 Subject: [PATCH] Message Requests: Fix click of blurred profile avatar Co-authored-by: Scott Nonnenberg --- ts/models/conversations.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ts/models/conversations.ts b/ts/models/conversations.ts index 6d05331ba3b2..eef4f7279c5f 100644 --- a/ts/models/conversations.ts +++ b/ts/models/conversations.ts @@ -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 {