| author | Stephen Paul Weber
<singpolyma@singpolyma.net> 2024-06-27 02:21:13 UTC |
| committer | Stephen Paul Weber
<singpolyma@singpolyma.net> 2024-06-27 02:21:13 UTC |
| parent | e624cc02125e65ce6e9c2e15147a7903cabc805d |
| snikket/Chat.hx | +2 | -2 |
diff --git a/snikket/Chat.hx b/snikket/Chat.hx index a5822e8..3598bd6 100644 --- a/snikket/Chat.hx +++ b/snikket/Chat.hx @@ -705,13 +705,13 @@ class Channel extends Chat { } private function doSync(lastId: Null<String>) { - var thirtyDaysAgo = Date.format( + var threeDaysAgo = Date.format( DateTools.delta(std.Date.now(), DateTools.days(-3)) ); var sync = new MessageSync( client, stream, - lastId == null ? { startTime: thirtyDaysAgo } : { page: { after: lastId } }, + lastId == null ? { startTime: threeDaysAgo } : { page: { after: lastId } }, chatId ); sync.setNewestPageFirst(false);