refactor: use system timezone and harden client APIs

This commit is contained in:
Mikhail Kilin
2026-05-17 13:14:59 +03:00
parent 887892f809
commit e09b83be69
50 changed files with 172 additions and 343 deletions

View File

@@ -196,7 +196,11 @@ fn render_message_list<T: TdClientTrait>(f: &mut Frame, area: Rect, app: &mut Ap
match group {
MessageGroup::DateSeparator(date) => {
// Рендерим разделитель даты
lines.extend(components::render_date_separator(date, content_width, is_first_date));
lines.extend(components::render_date_separator(
date,
content_width,
is_first_date,
));
is_first_date = false;
is_first_sender = true; // Сбрасываем счётчик заголовков после даты
}