Update variable name for better readability
This commit is contained in:
@@ -119,13 +119,13 @@ pub async fn fetch_and_announce_appointment(
|
||||
|
||||
let entry = ChatInfo::from(entry);
|
||||
|
||||
let new_appointment = entry
|
||||
let is_new_appointment = entry
|
||||
.next_appointment
|
||||
.as_ref()
|
||||
.map(|db_appointment| db_appointment.start != appointment.start)
|
||||
.unwrap_or(true);
|
||||
|
||||
if !new_appointment {
|
||||
if !is_new_appointment {
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user