summaryrefslogtreecommitdiff
path: root/sleekxmpp/basexmpp.py
diff options
context:
space:
mode:
authorNathan Fritz <nathan@andyet.net>2011-04-14 16:27:27 -0700
committerNathan Fritz <nathan@andyet.net>2011-04-14 16:27:27 -0700
commit46dc6eac887907109c97fc218498bcc894756659 (patch)
treeadf05107e0cdf828443b470a233bc36c19678a4d /sleekxmpp/basexmpp.py
parentb9bf30e095da565f02f3ed20dab6b378dba4ab7d (diff)
downloadslixmpp-46dc6eac887907109c97fc218498bcc894756659.tar.gz
slixmpp-46dc6eac887907109c97fc218498bcc894756659.tar.bz2
slixmpp-46dc6eac887907109c97fc218498bcc894756659.tar.xz
slixmpp-46dc6eac887907109c97fc218498bcc894756659.zip
remove roster item state responsibility from clients
Diffstat (limited to 'sleekxmpp/basexmpp.py')
-rw-r--r--sleekxmpp/basexmpp.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/sleekxmpp/basexmpp.py b/sleekxmpp/basexmpp.py
index 4391ff48..7330b9c2 100644
--- a/sleekxmpp/basexmpp.py
+++ b/sleekxmpp/basexmpp.py
@@ -146,8 +146,6 @@ class BaseXMPP(XMLStream):
self._handle_unsubscribe)
self.add_event_handler('presence_unsubscribed',
self._handle_unsubscribed)
- self.add_event_handler('presence_probe',
- self._handle_probe)
self.add_event_handler('roster_subscription_request',
self._handle_new_subscription)
@@ -663,11 +661,6 @@ class BaseXMPP(XMLStream):
pfrom = presence['from'].bare
self.roster[pto][pfrom].handle_unsubscribed(presence)
- def _handle_probe(self, presence):
- pto = presence['to'].bare
- pfrom = presence['from'].bare
- self.roster[pto][pfrom].handle_probe(presence)
-
def _handle_presence(self, presence):
"""
Process incoming presence stanzas.