mirror of https://gitlab.com/bashrc2/epicyon
Exclude objects
parent
5fa3a7928d
commit
c4cbbfa073
3
inbox.py
3
inbox.py
|
@ -3228,7 +3228,8 @@ def _receive_announce(recent_posts_cache: {},
|
||||||
print('DEBUG: self-boost rejected')
|
print('DEBUG: self-boost rejected')
|
||||||
return False
|
return False
|
||||||
if not has_users_path(message_json['object']):
|
if not has_users_path(message_json['object']):
|
||||||
print('WARN: unknown users path ' + message_json['object'])
|
if '/objects/' not in str(message_json['object']):
|
||||||
|
print('WARN: unknown users path ' + str(message_json['object']))
|
||||||
if debug:
|
if debug:
|
||||||
print('DEBUG: ' +
|
print('DEBUG: ' +
|
||||||
'"users", "channel" or "profile" missing in ' +
|
'"users", "channel" or "profile" missing in ' +
|
||||||
|
|
Loading…
Reference in New Issue