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,
|
getAvatar,
|
||||||
getRawAvatarPath,
|
getRawAvatarPath,
|
||||||
getLocalAvatarUrl,
|
getLocalAvatarUrl,
|
||||||
|
getLocalProfileAvatarUrl,
|
||||||
} from '../util/avatarUtils';
|
} from '../util/avatarUtils';
|
||||||
import { getDraftPreview } from '../util/getDraftPreview';
|
import { getDraftPreview } from '../util/getDraftPreview';
|
||||||
import { hasDraft } from '../util/hasDraft';
|
import { hasDraft } from '../util/hasDraft';
|
||||||
|
@ -5270,7 +5271,7 @@ export class ConversationModel extends window.Backbone
|
||||||
}
|
}
|
||||||
|
|
||||||
unblurAvatar(): void {
|
unblurAvatar(): void {
|
||||||
const avatarUrl = getRawAvatarPath(this.attributes);
|
const avatarUrl = getLocalProfileAvatarUrl(this.attributes);
|
||||||
if (avatarUrl) {
|
if (avatarUrl) {
|
||||||
this.set('unblurredAvatarUrl', avatarUrl);
|
this.set('unblurredAvatarUrl', avatarUrl);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue