kopia lustrzana https://gitlab.com/jaywink/federation
Fix sending accept when receiving a remote AP follow
rodzic
4b62b83908
commit
a72494240b
|
@ -54,7 +54,15 @@ class ActivitypubFollow(ActivitypubEntityMixin, Follow):
|
|||
target_id=self.activity_id,
|
||||
)
|
||||
try:
|
||||
handle_send(accept, UserType(id=self.target_id, private_key=key), recipients=[self.actor_id])
|
||||
handle_send(
|
||||
accept,
|
||||
UserType(id=self.target_id, private_key=key),
|
||||
recipients=[{
|
||||
"fid": self.actor_id,
|
||||
"protocol": "activitypub",
|
||||
"public": False,
|
||||
}],
|
||||
)
|
||||
except Exception:
|
||||
logger.exception("ActivitypubFollow.post_receive - Failed to send Accept back")
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue