π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Disable profile links for friend requests
Anand Baburajan9fcb3008c511
diff --git a/web/apps/space/src/screens/MessagesScreen.tsx b/web/apps/space/src/screens/MessagesScreen.tsxindex 810170fc64..eea6937b1d 100644--- a/web/apps/space/src/screens/MessagesScreen.tsx+++ b/web/apps/space/src/screens/MessagesScreen.tsx@@ -463,32 +463,41 @@ const ConversationListItem: React.FC<{width: 44,}}>- <Box- component="button"- type="button"- aria-label={`Open ${name}'s profile`}- onClick={() => onOpenFriendProfile(conversation.friend)}- sx={{- appearance: "none",- bgcolor: "transparent",- border: 0,- borderRadius: "50%",- cursor: "pointer",- display: "block",- height: 44,- p: 0,- width: 44,- "&:focus-visible": {- outline: `2px solid ${green}`,- outlineOffset: 2,- },- }}- >+ {isFriendRequest ? (<AvataravatarUrl={conversation.friend.avatarUrl}size={44}/>- </Box>+ ) : (+ <Box+ component="button"+ type="button"+ aria-label={`Open ${name}'s profile`}+ onClick={() =>+ onOpenFriendProfile(conversation.friend)+ }+ sx={{+ appearance: "none",+ bgcolor: "transparent",+ border: 0,+ borderRadius: "50%",+ cursor: "pointer",+ display: "block",+ height: 44,+ p: 0,+ width: 44,+ "&:focus-visible": {+ outline: `2px solid ${green}`,+ outlineOffset: 2,+ },+ }}+ >+ <Avatar+ avatarUrl={conversation.friend.avatarUrl}+ size={44}+ />+ </Box>+ )}{unreadCount > 0 && !isFriendRequest && (<Boxaria-label={`${unreadCount} unread update${unreadCount == 1 ? "" : "s"}`}