Remove unnecessary newline.

v0.6
Martin Dosch 10 months ago
parent 52564a5b48
commit 1e39ba0cb0
No known key found for this signature in database
GPG Key ID: 52A57CFCE13D657D

@ -20,7 +20,7 @@ func sendIQ(client *xmpp.Client, iqc chan xmpp.IQ, target string, iQtype string,
c := make(chan xmpp.IQ)
go getIQ(id, c, iqc)
_, err := client.RawInformation(client.JID(), target, id,
iQtype, content+"\n")
iQtype, content)
if errors.Unwrap(err) != nil {
return iq, fmt.Errorf("sendIQ: failed to send iq: %w", err)
}

Loading…
Cancel
Save