globals.pull_following_merge preference as to whether we are merging or overwriting our following list

This commit is contained in:
Mike Dilger 2023-01-08 08:01:12 +13:00
parent 28fe1d0f3f
commit 91ffab957d

View File

@ -79,6 +79,8 @@ pub struct Globals {
/// UI status message /// UI status message
pub status_message: RwLock<String>, pub status_message: RwLock<String>,
pub pull_following_merge: AtomicBool,
} }
lazy_static! { lazy_static! {
@ -110,6 +112,7 @@ lazy_static! {
fetcher: Fetcher::new(), fetcher: Fetcher::new(),
failed_avatars: RwLock::new(HashSet::new()), failed_avatars: RwLock::new(HashSet::new()),
status_message: RwLock::new("Welcome to Gossip. Status messages will appear here. Click them to dismiss them.".to_owned()), status_message: RwLock::new("Welcome to Gossip. Status messages will appear here. Click them to dismiss them.".to_owned()),
pull_following_merge: AtomicBool::new(true),
} }
}; };
} }