From f9fb151cfd8641b1aa4a18a3cf2e82145f002ab0 Mon Sep 17 00:00:00 2001 From: eleksir Date: Sun, 18 Jun 2023 16:13:52 +0300 Subject: [PATCH] add missing closing angle bracket --- xmpp.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xmpp.go b/xmpp.go index 2073b9b..3ca0a4e 100644 --- a/xmpp.go +++ b/xmpp.go @@ -1106,6 +1106,8 @@ func (c *Client) SendPresence(presence Presence) (n int, err error) { } } + buf = buf + ">" + // TODO: there may be optional tag "priority", but former presence type does not take this into account // so either we must follow std, change type xmpp.Presence and break backward compatibility // or leave it as-is and potentially break client software