Compare commits
3 commits
ae33de8e2d
...
e69f53bbd7
Author | SHA1 | Date | |
---|---|---|---|
e69f53bbd7 | |||
2b93d51be1 | |||
e06d955f98 |
5 changed files with 10 additions and 1 deletions
|
@ -13,6 +13,10 @@ type UserToUserRelation struct {
|
|||
}
|
||||
|
||||
type IUserToUserRelation interface {
|
||||
// FIXME: Include local users in these queries
|
||||
// Currently local users don't have an entry in user_remote_links
|
||||
// causing them to be ignored by these functions as of now
|
||||
|
||||
// Get all inbox links for accounts following the user with the specified id
|
||||
//
|
||||
// SELECT u.inbox_link
|
||||
|
|
|
@ -16,5 +16,6 @@ func BuildActivitypubRouter() http.Handler {
|
|||
router.HandleFunc("/activity/reject/{id}", activityReject)
|
||||
router.HandleFunc("/activity/update/{id}", activityUpdate)
|
||||
router.HandleFunc("/note/{id}", objectNote)
|
||||
router.HandleFunc("/note/{id}/reactions", noteReactions)
|
||||
return router
|
||||
}
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
package activitypub
|
5
web/public/api/activitypub/noteReactions.go
Normal file
5
web/public/api/activitypub/noteReactions.go
Normal file
|
@ -0,0 +1,5 @@
|
|||
package activitypub
|
||||
|
||||
import "net/http"
|
||||
|
||||
func noteReactions(w http.ResponseWriter, r *http.Request) {}
|
Loading…
Reference in a new issue