From 2e665e03b6175b3f31f0ef1e058183417df1456e Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Thu, 24 Nov 2022 00:08:34 +0000 Subject: Fix replaymode = "lastspoke" by using line numbers rather than time to calculate replay start point. Introduce new function doreplaylastspoke() to achieve this, move doreplay() into replay.c as doreplaytime() and refactor common things into sanitisereplay(). --- TODO | 3 +++ 1 file changed, 3 insertions(+) (limited to 'TODO') diff --git a/TODO b/TODO index a5f65f0..e10a4e9 100644 --- a/TODO +++ b/TODO @@ -10,6 +10,7 @@ macOS compiler may need limits.h included in structures.h. Sometimes replaymode = "lastspoke" will replay the last message you sent if you spoke last and sometimes it doesn't - change to always include your last message? Time based issue due to "seconds ago" rather than specific timestamp? Perhaps extract timestamp and replay from there. +(Pending real world testing to be marked as fixed.) Can memory usage be reduced further? (e.g. better channel struct management) @@ -40,4 +41,6 @@ Git version in code. Sending ^D when running with ./blabouncer -f does crazy stuff. +Connecting from irssi triggers doautoreplay() from "USER received" in message.c twice. + Crash when requesting 30 hour replay. -- cgit v1.2.3