Index: openacs-4/packages/xotcl-core/tcl/chat-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xotcl-core/tcl/Attic/chat-procs.tcl,v diff -u -r1.17 -r1.18 --- openacs-4/packages/xotcl-core/tcl/chat-procs.tcl 28 Aug 2008 19:23:39 -0000 1.17 +++ openacs-4/packages/xotcl-core/tcl/chat-procs.tcl 26 Nov 2009 12:02:16 -0000 1.18 @@ -307,7 +307,7 @@ ChatClass method initialize_nsvs {} { # read the last_activity information at server start into a nsv array - db_foreach get_rooms { + db_foreach [my qn get_rooms] { select room_id, to_char(max(creation_date),'HH24:MI:SS YYYY-MM-DD') as last_activity from chat_msgs group by room_id} { ::xo::clusterwide nsv_set [self]-$room_id-seen last [clock scan $last_activity]