feat: chat notification
This commit is contained in:
@@ -266,7 +266,8 @@ func (s *Server) initAuth(cfg *config.Config, logger *zap.Logger) {
|
||||
// Chat — DMs, groups and the (still coming-soon) Kautilya threads.
|
||||
chatRepo := repository.NewChatRepo(s.pg)
|
||||
chatSvc := service.NewChatService(chatRepo, blockRepo, postRepo,
|
||||
pushSender, notifPrefsRepo, userRepo, rtClient, r2, s.redis, logger)
|
||||
pushSender, notifPrefsRepo, userRepo, mail, cfg.FrontendURL,
|
||||
rtClient, r2, s.redis, logger)
|
||||
s.chatH = handler.NewChatHandler(chatSvc)
|
||||
|
||||
// Soketi signs webhooks with the app secret. channel_occupied/vacated on a
|
||||
|
||||
Reference in New Issue
Block a user