hopefully someone tells me if this is a bad idea
This commit is contained in:
parent
2c6e8f4e72
commit
993d0d3e8e
|
@ -29,6 +29,8 @@
|
||||||
isync = prev.isync.overrideAttrs (old: { withCyrusSaslXoauth2 = true; });
|
isync = prev.isync.overrideAttrs (old: { withCyrusSaslXoauth2 = true; });
|
||||||
colmena = inputs.colmena.packages.x86_64-linux.colmena.overrideAttrs
|
colmena = inputs.colmena.packages.x86_64-linux.colmena.overrideAttrs
|
||||||
(old: { patches = old.patches or [ ] ++ [ ./colmena-eval.diff ]; });
|
(old: { patches = old.patches or [ ] ++ [ ./colmena-eval.diff ]; });
|
||||||
|
fedifetcher = prev.fedifetcher.overriedAttrs
|
||||||
|
(old: { patches = old.patches or [ ] ++ [ ./plsbackfill.diff ]; });
|
||||||
};
|
};
|
||||||
|
|
||||||
# incase something breaks
|
# incase something breaks
|
||||||
|
|
13
overlays/plsbackfill.diff
Normal file
13
overlays/plsbackfill.diff
Normal file
|
@ -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']:
|
Loading…
Reference in a new issue