Message Requests: Fix click of blurred profile avatar

Co-authored-by: Scott Nonnenberg <scott@signal.org>
This commit is contained in:
automated-signal 2024-09-04 13:32:23 -05:00 committed by GitHub
parent 9da1152311
commit 3c02db3571
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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 {