TF-4227 Cannot load more emails with Label
This commit is contained in:
@@ -806,8 +806,10 @@ class ThreadController extends BaseController with EmailActionController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool _validatePresentationEmail(PresentationEmail email) {
|
bool _validatePresentationEmail(PresentationEmail email) {
|
||||||
return (_belongToCurrentMailboxId(email) || selectedMailbox?.isVirtualFolder == true)
|
return (_belongToCurrentMailboxId(email) ||
|
||||||
&& _notDuplicatedInCurrentList(email);
|
selectedMailbox?.isVirtualFolder == true ||
|
||||||
|
selectedMailbox?.isLabelMailbox == true) &&
|
||||||
|
_notDuplicatedInCurrentList(email);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool _belongToCurrentMailboxId(PresentationEmail email) {
|
bool _belongToCurrentMailboxId(PresentationEmail email) {
|
||||||
|
|||||||
Reference in New Issue
Block a user