mirror of
https://github.com/chatmail/core.git
synced 2026-04-19 14:36:29 +03:00
Fix unix timestamp used for daymarker
This commit is contained in:
@@ -2254,7 +2254,7 @@ pub async fn get_chat_msgs(
|
||||
let curr_day = curr_local_timestamp / 86400;
|
||||
if curr_day != last_day {
|
||||
ret.push(ChatItem::DayMarker {
|
||||
timestamp: curr_day,
|
||||
timestamp: curr_day * 86400, // Convert day back to Unix timestamp
|
||||
});
|
||||
last_day = curr_day;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user