Isolate EH and EXH manga redirects

This commit is contained in:
NerdNumber9
2019-08-08 14:45:40 -04:00
parent dce08d4922
commit 14879c4466
3 changed files with 6 additions and 4 deletions

View File

@@ -120,7 +120,7 @@ class ChaptersPresenter(
&& DebugToggles.ENABLE_EXH_ROOT_REDIRECT.enabled) {
// Check for gallery in library and accept manga with lowest id
// Find chapters sharing same root
add(updateHelper.findAcceptedRootAndDiscardOthers(chapters)
add(updateHelper.findAcceptedRootAndDiscardOthers(manga.source, chapters)
.subscribeOn(Schedulers.io())
.subscribe { (acceptedChain, _) ->
// Redirect if we are not the accepted root