Keep older history reachable and skip notifying spam marked mid-translation

- Channel chat: when the message filter hides or collapses loaded messages
  and the list is too short to scroll (so the load-older trigger can't
  fire), load older pages automatically until it can scroll, storage runs
  out, or 20 pages have loaded. Past that cap an empty channel offers a
  "Load older messages" button instead of a dead end.
- Notifications: incoming channel messages notify after awaiting
  translation; marking one as spam meanwhile replaced the stored copy but
  not the captured one, so the spam still notified. Check the stored
  message's filter state before notifying.
This commit is contained in:
zjs81 committed 2026-11-06 00:34:49 -07:00
1 parent 1332c35884
commit 4862966e47
39 files changed
+163 -3

No files matched your search

+3
View File
@@ -6851,6 +6851,9 @@ class AppLocalizationsEs extends AppLocalizations {
String get holidayGreeting_newYear =>
'Feliz Año Nuevo|Próspero Año Nuevo|Feliz Año|Feliz Nochevieja|Próspero Año|Happy New Year';
@override
String get chat_loadOlderMessages => 'Cargar mensajes anteriores';
@override
String get messageFilter_title => 'Filtro de mensajes';