mirror of
https://github.com/wassname/FanFicFare.git
synced 2026-09-11 11:52:07 +08:00
Normalize story URLs from email before comparing to Reject List.
This commit is contained in:
@@ -447,7 +447,8 @@ class FanFicFarePlugin(InterfaceAction):
|
||||
prefs['imapmarkread'],)
|
||||
reject_list=set()
|
||||
if prefs['auto_reject_from_email']:
|
||||
reject_list = set([x for x in url_list if rejecturllist.check(x)])
|
||||
# need to normalize for reject list.
|
||||
reject_list = set([x for x in url_list if rejecturllist.check(adapters.getNormalStoryURLSite(x)[0])])
|
||||
url_list = url_list - reject_list
|
||||
|
||||
self.gui.status_bar.show_message(_('Finished Fetching Story URLs from Email.'),3000)
|
||||
|
||||
Reference in New Issue
Block a user