mirror of
https://git.pleroma.social/pleroma/relay.git
synced 2024-12-23 03:31:07 +00:00
cache activity id for forwards
This commit is contained in:
parent
8ca198b611
commit
c0d55cebb0
|
@ -38,7 +38,7 @@ async def handle_relay(actor, data, request):
|
|||
|
||||
async def handle_forward(actor, data, request):
|
||||
cache = app['cache'].objects
|
||||
object_id = misc.distill_object_id(data)
|
||||
object_id = data['id']
|
||||
|
||||
if object_id in cache:
|
||||
logging.verbose(f'already forwarded {object_id}')
|
||||
|
|
Loading…
Reference in a new issue