mirror of
https://salsa.debian.org/mdosch/feed-to-muc.git
synced 2024-11-25 07:28:40 +01:00
Support SASL2 and Bind2.
This commit is contained in:
parent
b480ecb56f
commit
a845838ae7
3 changed files with 11 additions and 10 deletions
2
go.mod
2
go.mod
|
@ -6,7 +6,7 @@ require (
|
|||
github.com/chilts/sid v0.0.0-20190607042430-660e94789ec9
|
||||
github.com/jaytaylor/html2text v0.0.0-20230321000545-74c2419ad056
|
||||
github.com/mmcdole/gofeed v1.3.0
|
||||
github.com/xmppo/go-xmpp v0.1.5
|
||||
github.com/xmppo/go-xmpp v0.1.6-0.20240411075028-12a04e09506f
|
||||
)
|
||||
|
||||
require (
|
||||
|
|
4
go.sum
4
go.sum
|
@ -37,8 +37,8 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+
|
|||
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
|
||||
github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk=
|
||||
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
|
||||
github.com/xmppo/go-xmpp v0.1.5 h1:Nxrf+NPxBcpmDTVSNpHPEdHccXJAHE3uMULnM0fOI1U=
|
||||
github.com/xmppo/go-xmpp v0.1.5/go.mod h1:yOhaLKwPWIe/lMiDS6btyI8lCa56j8RD3iSrel0k/8c=
|
||||
github.com/xmppo/go-xmpp v0.1.6-0.20240411075028-12a04e09506f h1:VzO17r+5EQt9B0AW4rbAzf+0S4jHWABWl0pRgKq44xc=
|
||||
github.com/xmppo/go-xmpp v0.1.6-0.20240411075028-12a04e09506f/go.mod h1:wR5vg1WrtcaP0DiW8XRUH9YLdFDjwlwJWl6zQEUqNuo=
|
||||
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
|
||||
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
|
||||
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
|
||||
|
|
15
main.go
15
main.go
|
@ -45,13 +45,14 @@ func main() {
|
|||
var client *xmpp.Client
|
||||
|
||||
options := xmpp.Options{
|
||||
Host: config.ServerAddress,
|
||||
User: config.BotJid,
|
||||
Password: config.Password,
|
||||
NoTLS: true,
|
||||
StartTLS: true,
|
||||
Debug: false,
|
||||
SSDP: true,
|
||||
Host: config.ServerAddress,
|
||||
User: config.BotJid,
|
||||
Password: config.Password,
|
||||
NoTLS: true,
|
||||
StartTLS: true,
|
||||
Debug: false,
|
||||
SSDP: true,
|
||||
UserAgentSW: "feed-to-muc",
|
||||
}
|
||||
|
||||
// Connect to server.
|
||||
|
|
Loading…
Reference in a new issue