mirror of
https://salsa.debian.org/mdosch/go-sendxmpp
synced 2024-11-18 21:25:31 +00:00
Rename delete to del.
This commit is contained in:
parent
620130aded
commit
8a52c0ca44
4
ox.go
4
ox.go
@ -59,8 +59,8 @@ func oxDeleteNodes(jid string, client *xmpp.Client,
|
||||
deleteNodeRequest.WriteSettings.AttrSingleQuote = true
|
||||
pubsub := deleteNodeRequest.CreateElement("pubsub")
|
||||
pubsub.CreateAttr("xmlns", nsPubsubOwner)
|
||||
delete := pubsub.CreateElement("delete")
|
||||
delete.CreateAttr("node", node.Value)
|
||||
del := pubsub.CreateElement("delete")
|
||||
del.CreateAttr("node", node.Value)
|
||||
dnr, err := deleteNodeRequest.WriteToString()
|
||||
if err != nil {
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user