mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-12-25 19:25:41 +00:00
07018c0afa
* added stanza unhandled (unhandled iqs now reply with feature-not-implemented) * added stanza exceptions (stanzas may now reply with exceptions when their handler raises an exception)
18 lines
380 B
Python
18 lines
380 B
Python
from .. xmlstream.stanzabase import ElementBase, ET
|
|
|
|
class Nick(ElementBase):
|
|
namespace = 'http://jabber.org/nick/nick'
|
|
name = 'nick'
|
|
plugin_attrib = 'nick'
|
|
interfaces = set(('nick'))
|
|
plugin_attrib_map = set()
|
|
plugin_xml_map = set()
|
|
|
|
def setNick(self, nick):
|
|
self.xml.text = nick
|
|
|
|
def getNick(self):
|
|
return self.xml.text
|
|
|
|
def delNick(self):
|
|
return self.__del__()
|