From 4be597a84a47575486bb18baa9d3a76084fc5bed Mon Sep 17 00:00:00 2001 From: Martin Dosch Date: Sat, 11 May 2024 14:55:32 +0200 Subject: [PATCH] Add commit that Client.Mechanism is the SCRAM mechanism used. --- xmpp.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xmpp.go b/xmpp.go index c625209..222d483 100644 --- a/xmpp.go +++ b/xmpp.go @@ -92,10 +92,10 @@ type Client struct { shutdown bool // Variable signalling that the stream will be closed p *xml.Decoder stanzaWriter io.Writer - LimitMaxBytes int // Maximum stanza size (XEP-0478: Stream Limits Advertisement) - LimitIdleSeconds int // Maximum idle seconds (XEP-0478: Stream Limits Advertisement) - Mechanism string - Fast Fast // XEP-0484 FAST Token, mechanism and expiry. + LimitMaxBytes int // Maximum stanza size (XEP-0478: Stream Limits Advertisement) + LimitIdleSeconds int // Maximum idle seconds (XEP-0478: Stream Limits Advertisement) + Mechanism string // SCRAM mechanism used. + Fast Fast // XEP-0484 FAST Token, mechanism and expiry. } func (c *Client) JID() string {