|
|
|
@ -25,23 +25,23 @@ const (
|
|
|
|
|
defaultTLS12 = 12
|
|
|
|
|
defaultTLS13 = 13
|
|
|
|
|
// namespace
|
|
|
|
|
nsDiscoInfo = "http://jabber.org/protocol/disco#info"
|
|
|
|
|
nsDiscoItems = "http://jabber.org/protocol/disco#items"
|
|
|
|
|
nsEme = "urn:xmpp:eme:0"
|
|
|
|
|
nsHints = "urn:xmpp:hints"
|
|
|
|
|
nsHTTPUpload = "urn:xmpp:http:upload:0"
|
|
|
|
|
nsJabberClient = "jabber:client"
|
|
|
|
|
nsJabberData = "jabber:x:data"
|
|
|
|
|
nsOx = "urn:xmpp:openpgp:0"
|
|
|
|
|
nsOxPubKeys = "urn:xmpp:openpgp:0:public-keys"
|
|
|
|
|
nsPubsub = "http://jabber.org/protocol/pubsub"
|
|
|
|
|
nsPubsubOwner = "http://jabber.org/protocol/pubsub#owner"
|
|
|
|
|
nsXMPPStanzas = "urn:ietf:params:xml:ns:xmpp-stanzas"
|
|
|
|
|
nsDiscoInfo = "http://jabber.org/protocol/disco#info"
|
|
|
|
|
nsDiscoItems = "http://jabber.org/protocol/disco#items"
|
|
|
|
|
nsEme = "urn:xmpp:eme:0"
|
|
|
|
|
nsHints = "urn:xmpp:hints"
|
|
|
|
|
nsHTTPUpload = "urn:xmpp:http:upload:0"
|
|
|
|
|
nsJabberClient = "jabber:client"
|
|
|
|
|
nsJabberData = "jabber:x:data"
|
|
|
|
|
nsOx = "urn:xmpp:openpgp:0"
|
|
|
|
|
nsOxPubKeys = "urn:xmpp:openpgp:0:public-keys"
|
|
|
|
|
nsPubsub = "http://jabber.org/protocol/pubsub"
|
|
|
|
|
nsPubsubOwner = "http://jabber.org/protocol/pubsub#owner"
|
|
|
|
|
nsXMPPStanzas = "urn:ietf:params:xml:ns:xmpp-stanzas"
|
|
|
|
|
// strings
|
|
|
|
|
oxAltBody = "This message is encrypted (XEP-0373: OpenPGP for XMPP)."
|
|
|
|
|
pubsubPubOptions = "http://jabber.org/protocol/pubsub#publish-options"
|
|
|
|
|
// strings
|
|
|
|
|
strChat = "chat"
|
|
|
|
|
strError = "error"
|
|
|
|
|
strGroupchat = "groupchat"
|
|
|
|
|
strResult = "result"
|
|
|
|
|
strChat = "chat"
|
|
|
|
|
strError = "error"
|
|
|
|
|
strGroupchat = "groupchat"
|
|
|
|
|
strResult = "result"
|
|
|
|
|
)
|
|
|
|
|