Fixed getting parent
This commit is contained in:
parent
bb5b89fd5a
commit
2b08db3374
|
@ -39,8 +39,8 @@ data class FetchEmailsStatus(
|
|||
return part
|
||||
}
|
||||
|
||||
(part as? BodyPart)?.parent.let { parent ->
|
||||
return getMessage(part)
|
||||
(part as? BodyPart)?.parent?.parent?.let { parent ->
|
||||
return getMessage(parent)
|
||||
}
|
||||
|
||||
return null
|
||||
|
|
Loading…
Reference in New Issue