From 19b17acd7aee2f491f312099be99bf7439cdacf1 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Wed, 1 Mar 2006 04:06:28 +0000 Subject: [PATCH] Added last mod time to all room list cmds --- citadel/room_ops.c | 5 +++-- citadel/techdoc/protocol.txt | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) 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) -- 2.39.2