Skip to main content

refresh_own_badges

Function refresh_own_badges 

Source
pub async fn refresh_own_badges()
Expand description

Fetch our own badges and persist to the per-account cache. Called once after initial sync. The SessionGuard straddles the network fetch so a mid-fetch account swap can’t write account A’s badge into account B’s DB.