diff options
Diffstat (limited to 'src/service/rooms/state_compressor/data.rs')
-rw-r--r-- | src/service/rooms/state_compressor/data.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/service/rooms/state_compressor/data.rs b/src/service/rooms/state_compressor/data.rs index ce164c6..d221d57 100644 --- a/src/service/rooms/state_compressor/data.rs +++ b/src/service/rooms/state_compressor/data.rs @@ -1,12 +1,12 @@ -use std::collections::HashSet; +use std::{collections::HashSet, sync::Arc}; use super::CompressedStateEvent; use crate::Result; pub struct StateDiff { pub parent: Option<u64>, - pub added: HashSet<CompressedStateEvent>, - pub removed: HashSet<CompressedStateEvent>, + pub added: Arc<HashSet<CompressedStateEvent>>, + pub removed: Arc<HashSet<CompressedStateEvent>>, } pub trait Data: Send + Sync { |