unoffical wafrn mirror wafrn.net
atproto social-network activitypub
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

removed logging

-4
-3
packages/backend/routes/websocket.ts
··· 15 15 'updateNotificationsSocket', 16 16 async (job: Job) => { 17 17 const userId = job.data.userId ? job.data.userId : '' 18 - logger.debug({ 19 - message: `Notification to be sent to user ${userId}: ${job.data.type}.` 20 - }) 21 18 notificationEmitter.emit(userId, { type: job.data.type }) 22 19 }, 23 20 {
-1
packages/backend/utils/queueProcessors/sendPushNotification.ts
··· 232 232 } 233 233 234 234 async function sendWsNotifications(notifications: NotificationBody[], context?: NotificationContext) { 235 - logger.debug({ message: `Notification websocket added`, notifications }) 236 235 await websocketQueue.addBulk( 237 236 notifications.map((elem) => { 238 237 // we just tell the user to update the notifications