Added last mod time to all room list cmds
authorArt Cancro <ajc@citadel.org>
Wed, 1 Mar 2006 04:06:28 +0000 (04:06 +0000)
committerArt Cancro <ajc@citadel.org>
Wed, 1 Mar 2006 04:06:28 +0000 (04:06 +0000)
citadel/room_ops.c
citadel/techdoc/protocol.txt

index b96c73a100647abc0bfad33b49b678fe5edc0b0c..c598aa5292b9e7e79f26e2e8a879d400bc98772e 100644 (file)
@@ -520,14 +520,15 @@ void list_roomname(struct ctdlroom *qrbuf, int ra, int current_view, int default
        }
 
        /* ...and now the other parameters */
-       cprintf("|%u|%d|%d|%d|%d|%d|%d|\n",
+       cprintf("|%u|%d|%d|%d|%d|%d|%d|%ld|\n",
                qrbuf->QRflags,
                (int) qrbuf->QRfloor,
                (int) qrbuf->QRorder,
                (int) qrbuf->QRflags2,
                ra,
                current_view,
-               default_view
+               default_view,
+               qrbuf->QRmtime
        );
 }
 
index be84eb2cbd2bf50a75fe8b0ac17cf91e5c6d2f67..b9b2b20c8a3afc5e7901e0e70ef55eea984a64ec 100644 (file)
@@ -293,6 +293,8 @@ room access controls:
   
  The sixth field is the user's current view for the room. (See VIEW command)
  The seventh field is the *default* view for the room. (See VIEW command)
+ The eigth field is a unix timestamp which reflects the last time the room
+  was modified (created, edited, posted in, deleted from, etc.)
  
  
  LKRO   (List Known Rooms with Old [no new] messages)