Commit 2eb17041 authored by kaniini's avatar kaniini

Merge branch 'feature-update' into 'master'

Handle "Update" event

See merge request !14
parents f7a7d595 9e577285
......@@ -214,7 +214,7 @@ async def handle_relay(actor, data, request):
CACHE[object_id] = activity_id
async def handle_delete(actor, data, request):
async def handle_forward(actor, data, request):
object_id = distill_object_id(data)
logging.debug('>> Relay %r', data)
......@@ -286,9 +286,10 @@ async def handle_undo(actor, data, request):
processors = {
'Announce': handle_relay,
'Create': handle_relay,
'Delete': handle_delete,
'Delete': handle_forward,
'Follow': handle_follow,
'Undo': handle_undo
'Undo': handle_undo,
'Update': handle_forward,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment