This commit is contained in:
Thomas Sileo 2019-07-15 23:22:57 +02:00
parent 7e75b7e7df
commit 8d12cf9571

View file

@ -126,7 +126,7 @@ class MicroblogPubBackend(Backend):
pass
object_visibility = None
if object_id:
object_visibility = ap.get_visibility(activity.get_object())
object_visibility = ap.get_visibility(activity.get_object()).name
actor_id = activity.get_actor().id
@ -144,7 +144,7 @@ class MicroblogPubBackend(Backend):
"visibility": visibility.name,
"actor_id": actor_id,
"object_id": object_id,
"object_visibility": object_visibility.name,
"object_visibility": object_visibility,
"poll_answer": False,
},
}