modify & explain icons next to feed
This commit is contained in:
@@ -407,7 +407,7 @@ export function contactForDid(
|
||||
* @param contact
|
||||
* @param allMyDids
|
||||
* @return { known: boolean, displayName: string, profileImageUrl?: string }
|
||||
* where 'known' is true if the display name is some easily-recogizable name, false if it's a generic name like "Someone Unnamed"
|
||||
* where 'known' is true if they are in the contacts
|
||||
*/
|
||||
export function didInfoForContact(
|
||||
did: string | undefined,
|
||||
@@ -422,7 +422,7 @@ export function didInfoForContact(
|
||||
} else if (contact) {
|
||||
return {
|
||||
displayName: contact.name || "Contact With No Name",
|
||||
known: !!contact.name,
|
||||
known: !!contact,
|
||||
profileImageUrl: contact.profileImageUrl,
|
||||
};
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user