diff options
Diffstat (limited to 'sleekxmpp/stanza')
-rw-r--r-- | sleekxmpp/stanza/iq.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/sleekxmpp/stanza/iq.py b/sleekxmpp/stanza/iq.py index 85165e1c..e76280b4 100644 --- a/sleekxmpp/stanza/iq.py +++ b/sleekxmpp/stanza/iq.py @@ -26,23 +26,6 @@ class Iq(RootStanza): self['error']['text'] = 'No handlers registered for this request.' self.send() - def result(self): - self['type'] = 'result' - return self - - def set(self): - self['type'] = 'set' - return self - - def error(self): - #TODO add error payloads - self['type'] = 'error' - return self - - def get(self): - self['type'] = 'get' - return self - def setPayload(self, value): self.clear() StanzaBase.setPayload(self, value) |