summaryrefslogtreecommitdiff
path: root/sleekxmpp/stanza
diff options
context:
space:
mode:
authorNathan Fritz <nathan@andyet.net>2010-10-21 16:59:15 -0700
committerNathan Fritz <nathan@andyet.net>2010-10-21 16:59:15 -0700
commit27ebb6e8f69d7b491b99044296a8b881195a21f6 (patch)
treec2f9e66d6e0d589c7499ad6f6fe00155a7bd1deb /sleekxmpp/stanza
parent8f55704928ac16599a62678fc1c3a83d83f43a21 (diff)
downloadslixmpp-27ebb6e8f69d7b491b99044296a8b881195a21f6.tar.gz
slixmpp-27ebb6e8f69d7b491b99044296a8b881195a21f6.tar.bz2
slixmpp-27ebb6e8f69d7b491b99044296a8b881195a21f6.tar.xz
slixmpp-27ebb6e8f69d7b491b99044296a8b881195a21f6.zip
presence no longer replies when exception is caught and tweaks to presence events
Diffstat (limited to 'sleekxmpp/stanza')
-rw-r--r--sleekxmpp/stanza/presence.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/sleekxmpp/stanza/presence.py b/sleekxmpp/stanza/presence.py
index 964ef11a..7dcd8f90 100644
--- a/sleekxmpp/stanza/presence.py
+++ b/sleekxmpp/stanza/presence.py
@@ -92,6 +92,12 @@ class Presence(RootStanza):
return StanzaBase.setup(self, xml)
+ def exception(self, e):
+ """
+ Override exception passback for presence.
+ """
+ pass
+
def set_show(self, show):
"""
Set the value of the <show> element.