Commit graph

3 commits

Author SHA1 Message Date
Eugen Rochko
72bb3e03fd Support more variations of ActivityPub keyId in signature ()
- Tries to avoid performing HTTP request if the keyId is an actor URI
- Likewise if the URI is a fragment URI on top of actor URI
- Resolves public key, returns owner if the owner links back to the key
2017-08-21 22:57:34 +02:00
unarist
a855956185 Fix ActivityPub follow interaction and add more specs () 2017-08-14 16:57:46 +02:00
Eugen Rochko
81c1303cd6 Handle ActivityPub follows correctly ()
* Handle ActivityPub follows correctly

ActivityPub follows are follow-requests. Always require an Accept.
If account is not locked, auto-accept.

* Handle ActivityPub Accept/Reject-Follow

* Fix wrong method

* Fix wrong class
2017-08-10 22:33:12 +02:00