Changeset 37:03cd0cb8548c in ralphm-patches for roster_server.patch


Ignore:
Timestamp:
Feb 14, 2010, 11:09:07 AM (11 years ago)
Author:
Ralph Meijer <ralphm@…>
Branch:
default
Message:

Create factory for accepting c2s connections, split out session manager.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roster_server.patch

    r36 r37  
    11diff -r 7b9f484b0b44 wokkel/xmppim.py
    22--- a/wokkel/xmppim.py  Fri Feb 12 19:49:36 2010 +0100
    3 +++ b/wokkel/xmppim.py  Fri Feb 12 19:53:42 2010 +0100
     3+++ b/wokkel/xmppim.py  Sat Feb 13 18:57:26 2010 +0100
    44@@ -12,6 +12,7 @@
    55 All of it should eventually move to Twisted.
     
    7272+
    7373+    def connectionInitialized(self):
    74 +        self.xmlstream.addObserver(XPATH_ROSTER_GET, self._onRosterGet, -1)
    75 +        self.xmlstream.addObserver(XPATH_ROSTER_SET, self._onRosterSet, -1)
     74+        self.xmlstream.addObserver(XPATH_ROSTER_GET, self._onRosterGet)
     75+        self.xmlstream.addObserver(XPATH_ROSTER_SET, self._onRosterSet)
    7676+
    7777+
Note: See TracChangeset for help on using the changeset viewer.