mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 18:29:27 +02:00
Fix user notifications on new follow
This commit is contained in:
parent
44b88f180b
commit
1198edf4bb
17 changed files with 82 additions and 36 deletions
|
@ -7,8 +7,10 @@ import { ActorModel } from '../../../models/activitypub/actor'
|
|||
import { getOrCreateVideoAndAccountAndChannel } from '../videos'
|
||||
import { forwardVideoRelatedActivity } from '../send/utils'
|
||||
import { getVideoDislikeActivityPubUrl } from '../url'
|
||||
import { APProcessorOptions } from '../../../typings/activitypub-processor.model'
|
||||
|
||||
async function processDislikeActivity (activity: ActivityCreate | ActivityDislike, byActor: ActorModel) {
|
||||
async function processDislikeActivity (options: APProcessorOptions<ActivityCreate | ActivityDislike>) {
|
||||
const { activity, byActor } = options
|
||||
return retryTransactionWrapper(processDislike, activity, byActor)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue