Skip to content

Commit

Permalink
send queue: handle reactions in the send queue
Browse files Browse the repository at this point in the history
  • Loading branch information
bnjbvr committed Aug 13, 2024
1 parent 9f556ec commit 69b9379
Show file tree
Hide file tree
Showing 4 changed files with 271 additions and 37 deletions.
6 changes: 6 additions & 0 deletions crates/matrix-sdk-base/src/store/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1253,6 +1253,12 @@ pub enum DependentQueuedEventKind {

/// The event should be redacted/aborted/removed.
Redact,

/// The event should be reacted to, with the given key.
React {
/// Key used for the reaction.
key: String,
},
}

/// A transaction id identifying a [`DependentQueuedEvent`] rather than its
Expand Down
4 changes: 4 additions & 0 deletions crates/matrix-sdk-ui/src/timeline/inner/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1215,6 +1215,10 @@ impl<P: RoomDataProvider> TimelineInner<P> {
.await;
}
}

LocalEchoContent::React { key, send_handle } => {
todo!();
}
}
}

Expand Down
Loading

0 comments on commit 69b9379

Please sign in to comment.