[WIP] Fix ban by software version, some other under-hood changes
- Use updated version of upstream go-xmpp + fixes on client-side - Introduce golangci-lint v2 + fixes - Move especially noisy debugging stuff to separate config handles to be able to switch them off - Add a bit debug to ban by software path
This commit is contained in:
@@ -4,11 +4,11 @@ import (
|
||||
"buny-jabber-bot/internal/log"
|
||||
"fmt"
|
||||
|
||||
"github.com/eleksir/go-xmpp"
|
||||
"github.com/google/uuid"
|
||||
"github.com/xmppo/go-xmpp"
|
||||
)
|
||||
|
||||
// QuerySoftwareVersion запрошивает версию и название клиента.
|
||||
// QuerySoftwareVersion запрашивает версию и название клиента.
|
||||
func (j *Jabber) QuerySoftwareVersion(jid string) (string, error) {
|
||||
var (
|
||||
id string
|
||||
|
||||
Reference in New Issue
Block a user