Skip to content

Commit

Permalink
Update matrix-sdk to 3558886b98992
Browse files Browse the repository at this point in the history
and fix our use of TimelineEvent, which has changed shape.
  • Loading branch information
andybalaam committed Oct 25, 2024
1 parent 72d3896 commit 6879777
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
28 changes: 14 additions & 14 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/responses.rs
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,8 @@ impl DecryptedRoomEvent {
impl From<matrix_sdk_common::deserialized_responses::TimelineEvent> for DecryptedRoomEvent {
fn from(value: matrix_sdk_common::deserialized_responses::TimelineEvent) -> Self {
Self {
event: value.event.json().get().to_owned().into(),
encryption_info: value.encryption_info.map(|e| e.into()),
event: value.raw().json().get().to_owned().into(),
encryption_info: value.encryption_info().map(|e| e.clone().into()),
}
}
}
Expand Down

0 comments on commit 6879777

Please sign in to comment.