Message Requests: Fix click of blurred profile avatar
Co-authored-by: Scott Nonnenberg <scott@signal.org>
This commit is contained in:
parent
9da1152311
commit
3c02db3571
1 changed files with 2 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue