mirror of
https://github.com/chatmail/core.git
synced 2026-05-02 04:46:29 +03:00
Resultification
This commit is contained in:
@@ -1084,7 +1084,7 @@ impl<'a> MimeFactory<'a> {
|
||||
parts.push(msg_kml_part);
|
||||
}
|
||||
|
||||
if location::is_sending_locations_to_chat(context, Some(self.msg.chat_id)).await {
|
||||
if location::is_sending_locations_to_chat(context, Some(self.msg.chat_id)).await? {
|
||||
match self.get_location_kml_part(context).await {
|
||||
Ok(part) => parts.push(part),
|
||||
Err(err) => {
|
||||
|
||||
Reference in New Issue
Block a user