Don't show message request after requesting to join via group link

This commit is contained in:
Scott Nonnenberg 2024-09-17 04:05:58 +10:00 committed by GitHub
parent b32dbf2c68
commit 8b627b3f1a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 40 additions and 7 deletions

View file

@ -62,7 +62,7 @@ export function getRawAvatarPath(
export function getLocalProfileAvatarUrl(
conversationAttrs: ConversationAttributesType
): string | undefined {
const avatar = conversationAttrs.profileAvatar;
const avatar = conversationAttrs.profileAvatar || conversationAttrs.avatar;
return avatar?.path ? getLocalAttachmentUrl(avatar) : undefined;
}