mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-20 09:11:24 +01:00
simplified
This commit is contained in:
parent
0e977481a1
commit
f48ca403cf
7 changed files with 175 additions and 186 deletions
|
|
@ -1,6 +1,6 @@
|
|||
use std::sync::Arc;
|
||||
|
||||
use ruma::{CanonicalJsonObject, EventId, OwnedUserId, RoomId, UserId};
|
||||
use ruma::{CanonicalJsonObject, EventId, RoomId, UserId};
|
||||
|
||||
use super::PduCount;
|
||||
use crate::{service::rooms::timeline::PduId, PduEvent, Result};
|
||||
|
|
@ -91,11 +91,4 @@ pub(crate) trait Data: Send + Sync {
|
|||
room_id: &RoomId,
|
||||
from: PduCount,
|
||||
) -> Result<Box<dyn Iterator<Item = Result<(PduCount, PduEvent)>> + 'a>>;
|
||||
|
||||
fn increment_notification_counts(
|
||||
&self,
|
||||
room_id: &RoomId,
|
||||
notifies: Vec<OwnedUserId>,
|
||||
highlights: Vec<OwnedUserId>,
|
||||
) -> Result<()>;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue