commit 829c874e268312151abd9b3506648f6c8fb96625
parent 492ee6856f1c91f606ed6785f385038976cbeac7
Author: Natasha Kerensikova <natgh@instinctive.eu>
Date: Mon, 19 Oct 2026 19:04:56 +0000
lastseen is updated instead of mtime when inserting from IRC log
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/get-gruiks.scm b/src/get-gruiks.scm
@@ -361,7 +361,7 @@
(url (list-ref parsed 4))
(_ (= 0 (exec (sql db
"UPDATE gruik
- SET mtime=CAST(strftime('%s', 'now') as INT),
+ SET lastseen=CAST(strftime('%s', 'now') as INT),
notes=(CASE WHEN title=?3
THEN notes
ELSE trim(notes||char(10)