Fix comment in activitypub.go
This commit is contained in:
parent
6b4179fa01
commit
eca7bcda0a
|
@ -573,7 +573,7 @@ func handleFetchCollectionInbox(app *App, w http.ResponseWriter, r *http.Request
|
||||||
remoteUserID, err = apAddRemoteUser(app, t, fullActor)
|
remoteUserID, err = apAddRemoteUser(app, t, fullActor)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add follow
|
// Remove like
|
||||||
_, err = t.Exec("DELETE FROM remote_likes WHERE post_id = ? AND remote_user_id = ?", unlikePostID, remoteUserID)
|
_, err = t.Exec("DELETE FROM remote_likes WHERE post_id = ? AND remote_user_id = ?", unlikePostID, remoteUserID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Rollback()
|
t.Rollback()
|
||||||
|
|
Loading…
Reference in New Issue