Engine pieces for the home, messages and settings screens

The home page lists the latest chats across servers and the profiles
page raises an identity's security level, so the engine gains:

- Store::recent_chats / History::recent_chats: the newest message of
  every chat, the most recently active first (one pass over the time
  index).
- identity::improve_level: the hash cash search on every core, in
  chunks of counters, cancellable, reporting each better level reached;
  the key and so the unique id stay the same.
- privacy.private_messages and privacy.pokes (everyone, friends,
  nobody): private messages and pokes of everyone else are dropped,
  next to what privacy.block_mode does for blocked contacts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
selikhovandClaude Opus 5.5 committed 2026-10-03 07:25:35 +03:00
1 parent 92f49cdffd
commit 1cd45af7fb
8 files changed
+195 -2

No files matched your search

+3 -1
View File
@@ -222,7 +222,9 @@ for Home's friends list, and records sightings in one write per change. A
contact's mute and volume apply to their voice in every session. Messages of
blocked contacts are flagged (`ChatMessage::blocked`, live and in history);
their private messages and pokes are dropped or flagged per
`privacy.block_mode`. `stream.permissions = friends` lets friends watch our
`privacy.block_mode`. `privacy.private_messages` and `privacy.pokes`
(everyone, friends, nobody) drop those of everyone else.
`stream.permissions = friends` lets friends watch our
stream without asking and asks for everyone else.
## Streams