♻️ refactor(core): rename initialise_message_list to initialise_lists
- rename initialise_message_list to initialise_lists for clarity - update all references to the function with the new name - the function now initialises both message and label lists
This commit is contained in:
committed by
Jeremiah Russell
parent
ed0d7e6bf3
commit
bf65721cec
@@ -497,7 +497,7 @@ async fn run_rules(client: &mut GmailClient, rules: Rules, execute: bool) -> Res
|
||||
};
|
||||
|
||||
log::info!("Executing rule `#{}` for label `{label}`", rule.describe());
|
||||
client.initialise_message_list();
|
||||
client.initialise_lists();
|
||||
client.set_rule(rule.clone());
|
||||
client.set_execute(execute);
|
||||
if let Err(e) = client.find_rule_and_messages_for_label(&label).await {
|
||||
|
||||
Reference in New Issue
Block a user