Make Context.cb field private (no code changes)

This commit is contained in:
Dmitry Bogatov
2019-09-17 14:45:44 +00:00
committed by holger krekel
parent 3bd36feede
commit 7bb4a27b60

View File

@@ -50,7 +50,7 @@ pub struct Context {
pub smtp_state: Arc<(Mutex<SmtpState>, Condvar)>,
pub oauth2_critical: Arc<Mutex<()>>,
#[debug_stub = "Callback"]
pub cb: Box<ContextCallback>,
cb: Box<ContextCallback>,
pub os_name: Option<String>,
pub cmdline_sel_chat_id: Arc<RwLock<u32>>,
pub bob: Arc<RwLock<BobStatus>>,