mirror of
https://github.com/chatmail/core.git
synced 2026-04-19 14:36:29 +03:00
location: don't ignore KML parsing errors
This commit is contained in:
@@ -1038,7 +1038,7 @@ impl MimeMessage {
|
||||
// XXX what if somebody sends eg an "location-highlights.kml"
|
||||
// attachment unrelated to location streaming?
|
||||
if filename.starts_with("location") || filename.starts_with("message") {
|
||||
let parsed = location::Kml::parse(context, decoded_data)
|
||||
let parsed = location::Kml::parse(decoded_data)
|
||||
.map_err(|err| {
|
||||
warn!(context, "failed to parse kml part: {}", err);
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user