mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Fix agent timeline identity and avatars (#46)
This commit is contained in:
@@ -45,6 +45,7 @@ type RawProfile = {
|
||||
|
||||
type RawUserProfileSummary = {
|
||||
display_name: string | null;
|
||||
avatar_url: string | null;
|
||||
nip05_handle: string | null;
|
||||
};
|
||||
|
||||
@@ -297,6 +298,7 @@ function fromRawUserProfileSummary(
|
||||
): UserProfileSummary {
|
||||
return {
|
||||
displayName: profile.display_name,
|
||||
avatarUrl: profile.avatar_url,
|
||||
nip05Handle: profile.nip05_handle,
|
||||
};
|
||||
}
|
||||
|
||||
@@ -90,6 +90,7 @@ export type Profile = {
|
||||
|
||||
export type UserProfileSummary = {
|
||||
displayName: string | null;
|
||||
avatarUrl: string | null;
|
||||
nip05Handle: string | null;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user