* added error, htmlim, roster, and nick stanza plugins

This commit is contained in:
Nathan Fritz
2009-12-15 04:37:10 +00:00
parent ca044a4934
commit 6897a0b57c
4 changed files with 140 additions and 0 deletions

16
sleekxmpp/stanza/nick.py Normal file
View File

@@ -0,0 +1,16 @@
from .. xmlstream.stanzabase import ElementBase, ET
class HTMLIM(ElementBase):
namespace = 'http://jabber.org/nick/nick'
name = 'nick'
plugin_attrib = 'nick'
interfaces = set(('nick'))
def setNick(self, nick):
self.xml.text = nick
def getNick(self):
return self.xml.text
def delNick(self):
return self.__del__()