mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
9e16199344
commit
0b154ddf69
|
@ -90,8 +90,7 @@ def _accept_follow(base_dir: str, message_json: {},
|
|||
"""
|
||||
if not has_object_string_type(message_json, debug):
|
||||
return
|
||||
if not message_json['object']['type'] == 'Follow':
|
||||
if not message_json['object']['type'] == 'Join':
|
||||
if message_json['object']['type'] not in ('Follow', 'Join'):
|
||||
return
|
||||
if debug:
|
||||
print('DEBUG: receiving Follow activity')
|
||||
|
|
Loading…
Reference in New Issue