chore: lint

This commit is contained in:
Felipe M 2025-08-11 13:29:01 +02:00
parent 9d2dd5619b
commit 6e45352f3e
No known key found for this signature in database
GPG key ID: 52E5D65FCF99808A
3 changed files with 6 additions and 6 deletions

View file

@ -484,7 +484,7 @@ func testXEP0077(client *xmpp.Client, config *Config) error {
// This is handled asynchronously in the client Connect method
time.Sleep(2 * time.Second)
// Check if server supports XEP-0077
// Check if server supports XEP-0077
inBandReg, err := client.GetInBandRegistration()
if err != nil {
return fmt.Errorf("server does not support XEP-0077 In-Band Registration: %w", err)
@ -499,7 +499,7 @@ func testXEP0077(client *xmpp.Client, config *Config) error {
}
serverJID := client.GetJID().Domain()
// Step 1: Test registration fields discovery
start := time.Now()
if config.Verbose {

View file

@ -73,10 +73,10 @@ type RegistrationResponse struct {
}
// NewInBandRegistration creates a new InBandRegistration XEP handler
func NewInBandRegistration(client *Client, logger logger.Logger) *InBandRegistration {
func NewInBandRegistration(client *Client, log logger.Logger) *InBandRegistration {
return &InBandRegistration{
client: client,
logger: logger,
logger: log,
enabled: true, // Default enabled
}
}

View file

@ -26,9 +26,9 @@ type XEPFeatures struct {
}
// NewXEPFeatures creates a new XEP features manager
func NewXEPFeatures(logger logger.Logger) *XEPFeatures {
func NewXEPFeatures(log logger.Logger) *XEPFeatures {
return &XEPFeatures{
logger: logger,
logger: log,
}
}