kopia lustrzana https://github.com/tsileo/little-boxes
Fixed ap.Follow(actor=ACTOR); ACTOR is id or dict
ap.Follow() could allow ACTOR to be a Person(), but it currently does not.pull/2/head
rodzic
714461d1d0
commit
794bba17ca
|
@ -58,7 +58,7 @@ ap.use_backend(my_backend)
|
|||
me = ap.Person({}) # Init an actor
|
||||
outbox = ap.Outbox(me)
|
||||
|
||||
follow = ap.Follow(actor=me, object='http://iri-i-want-follow')
|
||||
follow = ap.Follow(actor=me.id, object='http://iri-i-want-follow')
|
||||
outbox.post(follow)
|
||||
```
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue