mirror of
https://github.com/youwen5/iamb.git
synced 2025-08-04 11:38:28 -07:00
Implement receipts per thread (#438)
This commit is contained in:
parent
f0de97a049
commit
f880358a83
7 changed files with 152 additions and 72 deletions
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue