diff options
author | Lance Stout <lancestout@gmail.com> | 2011-12-30 21:45:25 -0500 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2011-12-30 21:45:25 -0500 |
commit | 8a29ec67ac91528747c2a954cc8f89b5bbe71e58 (patch) | |
tree | 47b70ec448cbe551df44b8a5f6ab7b02d358814a /sleekxmpp/plugins/xep_0115/stanza.py | |
parent | 6722b0224ae7673e3754552bdcbad714dc00b529 (diff) | |
download | slixmpp-8a29ec67ac91528747c2a954cc8f89b5bbe71e58.tar.gz slixmpp-8a29ec67ac91528747c2a954cc8f89b5bbe71e58.tar.bz2 slixmpp-8a29ec67ac91528747c2a954cc8f89b5bbe71e58.tar.xz slixmpp-8a29ec67ac91528747c2a954cc8f89b5bbe71e58.zip |
Add XEP-0115 plugin.
Finally
Diffstat (limited to 'sleekxmpp/plugins/xep_0115/stanza.py')
-rw-r--r-- | sleekxmpp/plugins/xep_0115/stanza.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sleekxmpp/plugins/xep_0115/stanza.py b/sleekxmpp/plugins/xep_0115/stanza.py new file mode 100644 index 00000000..af02949b --- /dev/null +++ b/sleekxmpp/plugins/xep_0115/stanza.py @@ -0,0 +1,19 @@ +""" + SleekXMPP: The Sleek XMPP Library + Copyright (C) 2011 Nathanael C. Fritz, Lance J.T. Stout + This file is part of SleekXMPP. + + See the file LICENSE for copying permission. +""" + +from __future__ import unicode_literals + +from sleekxmpp.xmlstream import ElementBase, ET + + +class Capabilities(ElementBase): + + namespace = 'http://jabber.org/protocol/caps' + name = 'c' + plugin_attrib = 'caps' + interfaces = set(('hash', 'node', 'ver', 'ext')) |