kopia lustrzana https://gitlab.com/marnanel/chapeau
get_outbox_collection returns all the user's posts (for now).
rodzic
af479642df
commit
faf663be6f
|
@ -406,13 +406,11 @@ class LocalPerson(Person):
|
|||
"""
|
||||
|
||||
# TODO Parameters to show access level.
|
||||
# At present it only returns public posts.
|
||||
|
||||
import kepi.trilby_api.models as trilby_models
|
||||
|
||||
result = trilby_models.Status.objects.filter(
|
||||
account = self,
|
||||
visibility = trilby_utils.VISIBILITY_PUBLIC,
|
||||
)
|
||||
|
||||
return result
|
||||
|
|
Ładowanie…
Reference in New Issue