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
@@ -6861,6 +6861,9 @@ class AppLocalizationsIt extends AppLocalizations {
String get holidayGreeting_newYear =>
'Felice Anno Nuovo|Buon Anno Nuovo|Buon Capodanno|Buon Anno|Felice Anno|Felice Capodanno|Happy New Year';
@override
String get chat_loadOlderMessages => 'Carica messaggi meno recenti';
@override
String get messageFilter_title => 'Filtro messaggi';