mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 02:39:33 +02:00
Fix bad to/cc when undo dislike
This commit is contained in:
parent
f00984c007
commit
fef2c7164e
3 changed files with 4 additions and 4 deletions
|
@ -67,9 +67,9 @@ async function sendUndoDislikeToOrigin (byAccount: AccountInstance, video: Video
|
|||
const accountsInvolvedInVideo = await getAccountsInvolvedInVideo(video, t)
|
||||
const audience = getOriginVideoAudience(video, accountsInvolvedInVideo)
|
||||
const dislikeActivity = createDislikeActivityData(byAccount, video)
|
||||
const object = await createActivityData(undoUrl, byAccount, dislikeActivity, t, audience)
|
||||
const object = await createActivityData(undoUrl, byAccount, dislikeActivity, t)
|
||||
|
||||
const data = await undoActivityData(undoUrl, byAccount, object, t)
|
||||
const data = await undoActivityData(undoUrl, byAccount, object, t, audience)
|
||||
|
||||
return unicastTo(data, byAccount, video.VideoChannel.Account.sharedInboxUrl, t)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue