Extra statuses path

main
Bob Mottram 2024-09-17 15:01:45 +01:00
parent 1c6593bde2
commit 7ba5ecb675
2 changed files with 2 additions and 2 deletions

View File

@ -1677,7 +1677,7 @@ def receive_announce(recent_posts_cache: {},
if not has_users_path(message_json['object']):
# log any unrecognised statuses
if not contains_statuses(str(message_json['object'])):
print('WARN: unknown users path ' + str(message_json['object']))
print('WARN: unknown statuses path ' + str(message_json['object']))
if debug:
print('DEBUG: ' +
'"users", "channel" or "profile" missing in ' +

View File

@ -1508,7 +1508,7 @@ def _get_statuses_list() -> []:
'/note/', '/notes/', '/comment/', '/post/', '/item/', '/videos/',
'/button/', '/x/', '/o/', '/posts/', '/items/', '/object/', '/r/',
'/content/', '/federation/', '/elsewhere/', '/article/',
'/activity/')
'/activity/', '/blog/')
def contains_statuses(url: str) -> bool: