kopia lustrzana https://gitlab.com/jaywink/federation
Remove to_base from the Accept object class as it was uselessly returning the accepted Follow to the client
rodzic
6b690f26fa
commit
7b2de4811c
|
@ -1206,10 +1206,6 @@ class Like(Announce):
|
|||
|
||||
# inbound Accept is a noop...
|
||||
class Accept(Create, base.Accept):
|
||||
def to_base(self):
|
||||
del self.object_
|
||||
return self
|
||||
|
||||
class Meta:
|
||||
rdf_type = as2.Accept
|
||||
exclude = ('created_at',)
|
||||
|
|
Ładowanie…
Reference in New Issue