1
0
Fork 0
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:
Chocobozzz 2022-05-05 10:29:35 +02:00
parent d493e2d4bf
commit bae616273d
No known key found for this signature in database
GPG key ID: 583A612D890159BE
11 changed files with 338 additions and 145 deletions

View file

@ -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,