Setting to automatically fetch metadata when following a new person #131

Closed
opened 2023-01-11 10:22:44 +13:00 by Nate-Levin · 5 comments
Nate-Levin commented 2023-01-11 10:22:44 +13:00 (Migrated from github.com)

Would be nice to have a setting that determined whether or not to automatically fetch a persons metadata when newly followed.

Would be nice to have a setting that determined whether or not to automatically fetch a persons metadata when newly followed.
Nate-Levin commented 2023-01-11 10:28:28 +13:00 (Migrated from github.com)

I will look at implementing this tonight. This should probably be false by default

I will look at implementing this tonight. This should probably be false by default
mikedilger commented 2023-01-11 10:57:12 +13:00 (Migrated from github.com)

reasonable.

reasonable.
mikedilger commented 2023-01-29 15:46:20 +13:00 (Migrated from github.com)

This could be a trigger of overlord::refresh_followed_metadata, or just for the one person followed, so long as it doesn't happen over and over in a loop (e.g. in people::async_follow, if you did it, that might be called by other functions many times and trigger pulling metadata over and over). Anyhow, it can be worked out.

This could be a trigger of overlord::refresh_followed_metadata, or just for the one person followed, so long as it doesn't happen over and over in a loop (e.g. in people::async_follow, if you did it, that might be called by other functions many times and trigger pulling metadata over and over). Anyhow, it can be worked out.
mikedilger commented 2023-02-09 14:56:04 +13:00 (Migrated from github.com)

The problem with this is that when you follow a new person, it has to subscribe for their relay list events, then only after those come in and get processed will it know where to get metadata. We don't have a nice async coding system to remember what we were doing, so this is hard at present. I think it's okay as it is for now.

Bumping to milestone 0.5

The problem with this is that when you follow a new person, it has to subscribe for their relay list events, then only after those come in and get processed will it know where to get metadata. We don't have a nice async coding system to remember what we were doing, so this is hard at present. I think it's okay as it is for now. Bumping to milestone 0.5
mikedilger commented 2023-02-24 13:27:51 +13:00 (Migrated from github.com)

Actually now that we automatically fetch metadata when we encounter in the UI someone without it, this is now resolved.

Actually now that we automatically fetch metadata when we encounter in the UI someone without it, this is now resolved.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nostr/gossip#131
No description provided.