Simplify if condition

This commit is contained in:
Hocuri
2020-12-20 15:57:21 +01:00
parent 53fed91a17
commit d3aba4e817

View File

@@ -836,7 +836,7 @@ async fn add_parts(
if is_mdn || is_location_kml {
is_hidden = true;
if state == MessageState::InFresh || state == MessageState::InNoticed {
if incoming {
state = MessageState::InSeen; // Set the state to InSeen so that precheck_imf() adds a markseen job after we moved the message
}
}