Fixes federation bugs

This commit is contained in:
Mouse Reeve
2020-10-30 15:22:20 -07:00
parent 6e97592518
commit a17f54e457
7 changed files with 30 additions and 24 deletions

View File

@ -204,7 +204,7 @@ def handle_follow_reject(activity):
def handle_create(activity):
''' someone did something, good on them '''
if activity['object'].get('type') not in \
['Note', 'Comment', 'Quotation', 'Review']:
['Note', 'Comment', 'Quotation', 'Review', 'GeneratedNote']:
# if it's an article or unknown type, ignore it
return