Implement receipts per thread (#438)

This commit is contained in:
VAWVAW
2025-06-06 01:11:57 +00:00
committed by GitHub
parent f0de97a049
commit f880358a83
7 changed files with 152 additions and 72 deletions

View File

@@ -1428,7 +1428,7 @@ impl StatefulWidget for Scrollback<'_> {
{
// If the cursor is at the last message, then update the read marker.
if let Some((k, _)) = thread.last_key_value() {
info.set_receipt(settings.profile.user_id.clone(), k.1.clone());
info.set_receipt(thread.1.clone(), settings.profile.user_id.clone(), k.1.clone());
}
}