Mark older messages as seen instead

This commit is contained in:
Joscha 2022-08-08 16:16:38 +02:00
parent 573f231466
commit cee91695e0
4 changed files with 30 additions and 12 deletions

View file

@ -130,5 +130,5 @@ pub trait MsgStore<M: Msg> {
async fn older_msg_id(&self, id: &M::Id) -> Option<M::Id>;
async fn newer_msg_id(&self, id: &M::Id) -> Option<M::Id>;
async fn set_seen(&self, id: &M::Id, seen: bool);
async fn set_all_seen(&self, seen: bool);
async fn set_older_seen(&self, id: &M::Id, seen: bool);
}