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

+6
View File
@@ -11491,6 +11491,12 @@ abstract class AppLocalizations {
/// **'Happy New Year|Happy New Year\'s'**
String get holidayGreeting_newYear;
/// Button on an empty channel when filtered messages hide the loaded ones and older history may exist
///
/// In en, this message translates to:
/// **'Load older messages'**
String get chat_loadOlderMessages;
/// Message filter: Message filter
///
/// In en, this message translates to: