aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xtelem.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/telem.lua b/telem.lua
index 261fe2f..d5eeeba 100755
--- a/telem.lua
+++ b/telem.lua
@@ -278,9 +278,13 @@ function do_messages()
print(string.rep("-",79))
-- Messages
for i, thread in ipairs(current_board_threads) do
+ local updated_str = ""
+ if thread.updated > current_board.last_scanned and thread.updated_by ~= username then
+ updated_str = " (*)"
+ end
print(string.format("%3d %s %s %s [%3d posts]", i, os.date("%x", thread.timestamp),
colourise("yellow", stringx.ljust(thread.author,16)),
- stringx.ljust(thread.subject,50),
+ stringx.ljust(thread.subject .. updated_str,50),
thread.post_count))
end
-- Separator