Skip to main content

load_profile

Function load_profile 

Source
pub async fn load_profile(
    npub: String,
    handler: &dyn ProfileSyncHandler,
) -> bool
Expand description

Fetch a profile’s metadata and status from relays, update STATE, and notify via EventEmitter + handler callback.

Returns true if the fetch succeeded (even if nothing changed).