Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
dont auto include publishers if option is off
Browse files Browse the repository at this point in the history
Fix #7451

Auditors: @mrose17
  • Loading branch information
cezaraugusto committed Mar 2, 2017
1 parent 0e68342 commit 823f388
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/ledger.js
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,11 @@ eventStore.addChangeListener(() => {
appActions.changeSiteSetting(pattern, 'ledgerPayments', !exclude)
updatePublisherInfo()
})
} else if (!getSetting(settings.AUTO_SUGGEST_SITES)) {
excludeP(publisher, (unused, exclude) => {
appActions.changeSiteSetting(pattern, 'ledgerPayments', false)
updatePublisherInfo()
})
}
updateLocation(location, publisher)
entry = synopsis.publishers[publisher]
Expand Down

0 comments on commit 823f388

Please sign in to comment.