]> code.delx.au - pymsnt/blobdiff - src/jabw.py
Major changes. Moved everything away from twistd and .tac files. Its nicer this way...
[pymsnt] / src / jabw.py
index ec2904fe608143e891716aaefa8eb63cb6361546..f063cefa2e12d4d55a8d308272d71d2e4cdca0e1 100644 (file)
@@ -253,6 +253,9 @@ class JabberConnection:
                if ptype and (ptype.startswith("subscribe") or ptype.startswith("unsubscribe")):
                        LogEvent(INFO, self.jabberID, "Parsed subscription presence packet")
                        self.subscriptionReceived(toj.userhost(), ptype)
+               elif ptype == "probe":
+                       LogEvent(INFO, self.jabberID, "Parsed presence probe")
+                       self.contactList.getContact(toj.userhost()).sendPresence(fro)
                else:
                        status = None
                        show = None