mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 13:36:30 +03:00
Simplify if condition
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user