summaryrefslogtreecommitdiff
path: root/sleekxmpp/stanza/nick.py
blob: 438b5a9b90a5dbbe71e2a400d43af0e3ac6cb6b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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__()