From: Art Cancro Date: Wed, 1 Mar 2006 04:06:28 +0000 (+0000) Subject: Added last mod time to all room list cmds X-Git-Tag: v7.86~4168 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=19b17acd7aee2f491f312099be99bf7439cdacf1;p=citadel.git Added last mod time to all room list cmds --- diff --git a/citadel/room_ops.c b/citadel/room_ops.c index b96c73a10..c598aa529 100644 --- a/citadel/room_ops.c +++ b/citadel/room_ops.c @@ -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 ); } diff --git a/citadel/techdoc/protocol.txt b/citadel/techdoc/protocol.txt index be84eb2cb..b9b2b20c8 100644 --- a/citadel/techdoc/protocol.txt +++ b/citadel/techdoc/protocol.txt @@ -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)