Skip to content

Commit

Permalink
chore: Update to specific, supported ruma and sliding-sync-proxy-vers…
Browse files Browse the repository at this point in the history
…ion.
  • Loading branch information
gnunicorn committed Jan 31, 2023
1 parent 1d9275f commit 6af57d9
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 18 deletions.
14 changes: 7 additions & 7 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 Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ byteorder = "1.4.3"
ctor = "0.1.26"
dashmap = "5.2.0"
http = "0.2.6"
ruma = { git = "https://github.com/ruma/ruma", rev = "3f293073653847d2c56e3c094e0773e3d5b06cc2", features = ["client-api-c"] }
ruma-common = { git = "https://github.com/ruma/ruma", rev = "3f293073653847d2c56e3c094e0773e3d5b06cc2" }
ruma = { git = "https://github.com/ruma/ruma", rev = "00045e559f864eabff08295d603f7b3238288b6f", features = ["client-api-c"] }
ruma-common = { git = "https://github.com/ruma/ruma", rev = "00045e559f864eabff08295d603f7b3238288b6f" }
once_cell = "1.16.0"
serde = "1.0.151"
serde_html_form = "0.2.0"
Expand Down
1 change: 0 additions & 1 deletion bindings/matrix-sdk-ffi/src/sliding_sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,6 @@ impl SlidingSyncBuilder {
Arc::new(builder)
}


pub fn with_all_extensions(self: Arc<Self>) -> Arc<Self> {
let mut builder = unwrap_or_clone_arc(self);
builder.inner = builder.inner.with_all_extensions();
Expand Down
8 changes: 2 additions & 6 deletions crates/matrix-sdk/src/sliding_sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -798,10 +798,7 @@ impl SlidingSync {

/// Add the common extensions if not already configured
pub fn add_common_extensions(&self) {
let mut lock = self
.extensions
.lock()
.unwrap();
let mut lock = self.extensions.lock().unwrap();
let mut cfg = lock.get_or_insert_with(Default::default);
if cfg.to_device.is_none() {
cfg.to_device = Some(assign!(ToDeviceConfig::default(), {enabled : Some(true)}));
Expand All @@ -812,8 +809,7 @@ impl SlidingSync {
}

if cfg.account_data.is_none() {
cfg.account_data =
Some(assign!(AccountDataConfig::default(), {enabled : Some(true)}));
cfg.account_data = Some(assign!(AccountDataConfig::default(), {enabled : Some(true)}));
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ services:
- ./data/db:/var/lib/postgresql/data

sliding-sync-proxy:
# image: ghcr.io/matrix-org/sliding-sync:0.98.1
image: ghcr.io/matrix-org/sliding-sync:latest
image: ghcr.io/matrix-org/sliding-sync:v0.99.0-rc1
# image: ghcr.io/matrix-org/sliding-sync:latest
links:
- synapse
- postgres
Expand Down

0 comments on commit 6af57d9

Please sign in to comment.