Small syntax fix
This commit is contained in:
parent
f39cc6530b
commit
296bb379ec
@ -36,15 +36,17 @@ def shared_inbox(request):
|
|||||||
if activity['type'] == 'Add':
|
if activity['type'] == 'Add':
|
||||||
response = handle_incoming_shelve(activity)
|
response = handle_incoming_shelve(activity)
|
||||||
|
|
||||||
if activity['type'] == 'Follow':
|
elif activity['type'] == 'Follow':
|
||||||
response = handle_incoming_follow(activity)
|
response = handle_incoming_follow(activity)
|
||||||
|
|
||||||
if activity['type'] == 'Create':
|
elif activity['type'] == 'Create':
|
||||||
response = handle_incoming_create(activity)
|
response = handle_incoming_create(activity)
|
||||||
|
|
||||||
if activity['type'] == 'Accept':
|
elif activity['type'] == 'Accept':
|
||||||
response = handle_incoming_follow_accept(activity)
|
response = handle_incoming_follow_accept(activity)
|
||||||
|
|
||||||
|
# TODO: Undo, Remove, etc
|
||||||
|
|
||||||
return response
|
return response
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user