This commit is contained in:
aishannon 2026-03-29 16:06:44 +08:00
parent cfc357a24c
commit 861f37b7c6

View file

@ -114,7 +114,7 @@ func NewQQChannel(cfg config.QQConfig, messageBus *bus.MessageBus) (*QQChannel,
}
func (c *QQChannel) Start(ctx context.Context) error {
if c.config.AppID == "" || c.config.AppSecret.IsZero() {
if c.config.AppID == "" || c.config.AppSecret.String() == "" {
return fmt.Errorf("QQ app_id and app_secret not configured")
}