mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-06 03:50:26 +02:00
Convert followers/following in raw SQL queries
Prevent weird bug in SQL generation
This commit is contained in:
parent
d493e2d4bf
commit
bae616273d
11 changed files with 338 additions and 145 deletions
|
@ -44,7 +44,7 @@ function sendUndoFollow (actorFollow: MActorFollowActors, t: Transaction) {
|
|||
const followActivity = buildFollowActivity(actorFollow.url, me, following)
|
||||
const undoActivity = undoActivityData(undoUrl, me, followActivity)
|
||||
|
||||
return t.afterCommit(() => {
|
||||
t.afterCommit(() => {
|
||||
return unicastTo({
|
||||
data: undoActivity,
|
||||
byActor: me,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue