[Nym3-commit] r488 - trunk/nymbaron/Server

laurent at conuropsis.org laurent at conuropsis.org
Sat Mar 18 22:08:27 CET 2006


Author: laurent
Date: 2006-03-18 22:08:26 +0100 (Sat, 18 Mar 2006)
New Revision: 488

Modified:
   trunk/nymbaron/Server/Main.py
Log:
Update the lastSeen variable as appropriate

Modified: trunk/nymbaron/Server/Main.py
===================================================================
--- trunk/nymbaron/Server/Main.py	2006-03-18 21:04:41 UTC (rev 487)
+++ trunk/nymbaron/Server/Main.py	2006-03-18 21:08:26 UTC (rev 488)
@@ -41,6 +41,7 @@
 import base64
 import re
 import logging
+import time
 
 lifeCycle = User.lifeCycle
 """The life cycle of a mail received by the server for a nym""" 
@@ -256,6 +257,7 @@
             #register the seqNo as received
             #TODO is it ok?
             nymUser.received(h.seqNo)
+            nymUser['lastSeen'] = time.time()
             comList = sr.readCommandCToSList()
             for com in comList:
                 if com.ct() == Message.CToSCODE['Create']:



More information about the Nym3-commit mailing list