Make get_parent_mime_headers() private

This commit is contained in:
Alexander Krotov
2020-01-11 22:47:51 +03:00
committed by holger krekel
parent efb9a11d22
commit 6ad4bdea83

View File

@@ -194,7 +194,7 @@ impl Chat {
)
}
pub fn get_parent_mime_headers(&self, context: &Context) -> Option<(String, String, String)> {
fn get_parent_mime_headers(&self, context: &Context) -> Option<(String, String, String)> {
let collect = |row: &rusqlite::Row| Ok((row.get(0)?, row.get(1)?, row.get(2)?));
let params = params![self.id as i32];
let sql = &context.sql;