summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-10-12 01:07:10 +0200
committerLeif Johansson <leifj@sunet.se>2011-10-12 01:07:10 +0200
commitf23ef96409501ee1cafdc3aaf7d8d48a6b69cb88 (patch)
tree83a64ebb769ae5ab0b55b781998c5c19c125c20b
parent2c10cb6783feabd6a5f35d410042c2530f2c6b9c (diff)
probably need to look at the visit stats...
-rw-r--r--src/meetingtools/apps/room/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/meetingtools/apps/room/views.py b/src/meetingtools/apps/room/views.py
index 66146e9..3991495 100644
--- a/src/meetingtools/apps/room/views.py
+++ b/src/meetingtools/apps/room/views.py
@@ -247,7 +247,7 @@ def _import_room(request,acc,r):
if not room:
return None
- if abs(room.lastupdate() - time.time()) < IMPORT_TTL:
+ if abs(room.lastvisit() - time.time()) < IMPORT_TTL:
return room
api = ac_api_client(request,acc)