[notification] should get actual session here stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 10 Sep 2009 08:02:52 +0200
branchstable
changeset 3161 005f745315b0
parent 3160 9f75f5de2134
child 3162 d6ae24439bee
child 3164 b025592ff478
[notification] should get actual session here
server/session.py
--- a/server/session.py	Thu Sep 10 08:00:44 2009 +0200
+++ b/server/session.py	Thu Sep 10 08:02:52 2009 +0200
@@ -81,7 +81,7 @@
     def hijack_user(self, user):
         """return a fake request/session using specified user"""
         session = Session(user, self.repo)
-        session._threaddata = self._threaddata
+        session._threaddata = self.actual_session()._threaddata
         return session
 
     def _change_relation(self, cb, fromeid, rtype, toeid):