mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
PeerTube: 'Accept' sent to user inbox, not shared inbox
This commit is contained in:
parent
564323d650
commit
e83b929a73
1 changed files with 3 additions and 1 deletions
|
@ -1274,7 +1274,9 @@ def user_inbox(actor):
|
|||
if (('type' in request_json and request_json['type'] == 'Like') or
|
||||
('type' in request_json and request_json['type'] == 'Undo' and
|
||||
'object' in request_json and request_json['object']['type'] == 'Like')):
|
||||
return shared_inbox()
|
||||
return shared_inbox()
|
||||
if 'type' in request_json and request_json['type'] == 'Accept':
|
||||
return shared_inbox()
|
||||
try:
|
||||
HttpSignature.verify_request(request, actor.public_key, skip_date=True)
|
||||
if 'type' in request_json and request_json['type'] == 'Follow':
|
||||
|
|
Loading…
Add table
Reference in a new issue