kopia lustrzana https://gitlab.com/marnanel/chapeau
Status gains to and cc properties, both currently stubs
rodzic
b193096666
commit
38eac12111
|
@ -19,6 +19,8 @@ from django.utils.timezone import now
|
|||
from django.core.exceptions import ValidationError
|
||||
from polymorphic.models import PolymorphicModel
|
||||
|
||||
PUBLIC = "https://www.w3.org/ns/activitystreams#Public"
|
||||
|
||||
class Status(PolymorphicModel):
|
||||
|
||||
class Meta:
|
||||
|
@ -245,6 +247,14 @@ class Status(PolymorphicModel):
|
|||
|
||||
return result
|
||||
|
||||
@property
|
||||
def to(self):
|
||||
return [PUBLIC] # FIXME
|
||||
|
||||
@property
|
||||
def cc(self):
|
||||
return [] # FIXME
|
||||
|
||||
def save(self,
|
||||
send_signal = False,
|
||||
*args, **kwargs):
|
||||
|
|
Ładowanie…
Reference in New Issue