mirror of
https://salsa.debian.org/mdosch/feed-to-muc.git
synced 2024-12-22 21:05:25 +01:00
Fixed an RFC 6120 violation when sending IQ error replies. Thx jonasw.
This commit is contained in:
parent
1cf49e8121
commit
64f7cb9f27
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ func pingMUC(client *xmpp.Client, botJid string, Muc string, MucNick string) {
|
|||
} else {
|
||||
// Send error replies for all other IQs.
|
||||
_, err := client.RawInformation(client.JID(), v.From, v.ID, "error",
|
||||
string(v.Query))
|
||||
string(v.Query)+"<error/>")
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue