mirror of
https://git.pleroma.social/pleroma/relay.git
synced 2024-11-22 14:38:00 +00:00
relay: fix mastodon announce check
This commit is contained in:
parent
48f3977ff7
commit
976da47539
|
@ -160,7 +160,7 @@ async def handle_relay(actor, data, request):
|
||||||
object_id = distill_object_id(data)
|
object_id = distill_object_id(data)
|
||||||
|
|
||||||
# don't relay mastodon announces -- causes LRP fake direction issues
|
# don't relay mastodon announces -- causes LRP fake direction issues
|
||||||
if data['type'] == 'Announce' and length(data.get('cc', [])) > 0:
|
if data['type'] == 'Announce' and len(data.get('cc', [])) > 0:
|
||||||
return
|
return
|
||||||
|
|
||||||
message = {
|
message = {
|
||||||
|
|
Loading…
Reference in a new issue