diff --git a/overlays/default.nix b/overlays/default.nix index a44c7d91..e9a6b4e1 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -29,6 +29,8 @@ isync = prev.isync.overrideAttrs (old: { withCyrusSaslXoauth2 = true; }); colmena = inputs.colmena.packages.x86_64-linux.colmena.overrideAttrs (old: { patches = old.patches or [ ] ++ [ ./colmena-eval.diff ]; }); + fedifetcher = prev.fedifetcher.overriedAttrs + (old: { patches = old.patches or [ ] ++ [ ./plsbackfill.diff ]; }); }; # incase something breaks diff --git a/overlays/plsbackfill.diff b/overlays/plsbackfill.diff new file mode 100644 index 00000000..9b220d8f --- /dev/null +++ b/overlays/plsbackfill.diff @@ -0,0 +1,13 @@ +diff --git a/find_posts.py b/find_posts.py +index a322e62..dd7a076 100644 +--- a/find_posts.py ++++ b/find_posts.py +@@ -118,8 +118,6 @@ def add_post_with_context(post, server, access_token, seen_urls, seen_hosts): + return False + + def user_has_opted_out(user): +- if 'note' in user and isinstance(user['note'], str) and (' nobot' in user['note'].lower() or '/tags/nobot' in user['note'].lower()): +- return True + if 'indexable' in user and not user['indexable']: + return True + if 'discoverable' in user and not user['discoverable']: