Update feps

main
Bob Mottram 2024-10-12 21:40:26 +01:00
parent f45a6aff9e
commit 345c21d4df
2 changed files with 5 additions and 1 deletions

View File

@ -97,7 +97,7 @@ def meta_data_node_info(base_dir: str,
"text/markdown", "text/x.misskeymarkdown"],
"FEPs": ["c648", "521a", "8fcf", "4ccd", "c118", "fffd",
"1970", "0837", "7628", "2677", "5e53", "c16b",
"5e53"]
"5e53", "268d"]
}
}
return nodeinfo

View File

@ -3079,6 +3079,8 @@ def search_box_posts(base_dir: str, nickname: str, domain: str,
check_searchable_by = False
if box_name == 'inbox':
check_searchable_by = True
# https://codeberg.org/fediverse/fep/
# src/branch/main/fep/268d/fep-268d.md
# create a list containing all of the handles followed
following_list = get_followers_list(base_dir, nickname, domain,
'following.txt')
@ -3104,6 +3106,8 @@ def search_box_posts(base_dir: str, nickname: str, domain: str,
# if this is not an outbox/bookmarks search then is the
# post marked as being searchable?
# https://codeberg.org/fediverse/fep/
# src/branch/main/fep/268d/fep-268d.md
if check_searchable_by:
if '"searchableBy":' not in data:
continue