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