continue poll
}
- if err != nil {
- return fmt.Errorf("handle Telegram update: %w", err)
- }
-
- return nil
+ return fmt.Errorf("handle Telegram update: %w", err)
}
imageOutage.End()
switch event.Kind {
case "busy", "idle", "reply", "error", "notice", "subagent":
case "work":
- if event.Source == whatsappSource || event.Source == scheduleSource {
+ if event.Source == whatsappSource || event.Source == scheduleSource || event.Source == notifySource {
return
}
case "user":