Mark all messages as seen

This commit is contained in:
Joscha 2022-08-08 15:37:43 +02:00
parent 43247e2a5c
commit 573f231466
4 changed files with 35 additions and 2 deletions

View file

@ -130,4 +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);
}