Add new follow, mention and user registered notifs
This commit is contained in:
parent
dc13348070
commit
f7cc67b455
25 changed files with 899 additions and 57 deletions
|
@ -40,6 +40,7 @@ import { deleteUserToken } from '../../../lib/oauth-model'
|
|||
import { myBlocklistRouter } from './my-blocklist'
|
||||
import { myVideosHistoryRouter } from './my-history'
|
||||
import { myNotificationsRouter } from './my-notifications'
|
||||
import { Notifier } from '../../../lib/notifier'
|
||||
|
||||
const auditLogger = auditLoggerFactory('users')
|
||||
|
||||
|
@ -213,6 +214,8 @@ async function registerUser (req: express.Request, res: express.Response) {
|
|||
await sendVerifyUserEmail(user)
|
||||
}
|
||||
|
||||
Notifier.Instance.notifyOnNewUserRegistration(user)
|
||||
|
||||
return res.type('json').status(204).end()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue