mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-16 15:21:24 +01:00
clarify behavior in service::account_data::changes_since docs
This commit is contained in:
parent
fe14300d91
commit
6897f0ba34
2 changed files with 6 additions and 0 deletions
|
|
@ -48,6 +48,9 @@ impl Service {
|
|||
}
|
||||
|
||||
/// Returns all changes to the account data that happened after `since`.
|
||||
///
|
||||
/// When there have been multiple changes to the same event type, returned
|
||||
/// map contains the most recent value.
|
||||
#[tracing::instrument(skip(self, room_id, user_id, since))]
|
||||
pub(crate) fn changes_since(
|
||||
&self,
|
||||
|
|
|
|||
|
|
@ -28,6 +28,9 @@ pub(crate) trait Data: Send + Sync {
|
|||
) -> Result<Option<Box<serde_json::value::RawValue>>>;
|
||||
|
||||
/// Returns all changes to the account data that happened after `since`.
|
||||
///
|
||||
/// When there have been multiple changes to the same event type, returned
|
||||
/// map contains the most recent value.
|
||||
fn changes_since(
|
||||
&self,
|
||||
room_id: Option<&RoomId>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue