Skip to content

Commit 08b99d3

Browse files
committed
feat(multiverse): enable threading support for multiverse with subscriptions
1 parent 20f4c9d commit 08b99d3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

labs/multiverse/src/main.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ use imbl::Vector;
2121
use layout::Flex;
2222
use matrix_sdk::{
2323
AuthSession, Client, SqliteCryptoStore, SqliteEventCacheStore, SqliteStateStore,
24+
ThreadingSupport,
2425
authentication::matrix::MatrixSession,
2526
config::StoreConfig,
2627
encryption::{BackupDownloadStrategy, EncryptionSettings},
@@ -554,7 +555,8 @@ async fn configure_client(cli: Cli) -> Result<Client> {
554555
backup_download_strategy: BackupDownloadStrategy::AfterDecryptionFailure,
555556
auto_enable_backups: true,
556557
})
557-
.with_enable_share_history_on_invite(true);
558+
.with_enable_share_history_on_invite(true)
559+
.with_threading_support(ThreadingSupport::Enabled { with_subscriptions: true });
558560

559561
if let Some(proxy_url) = proxy {
560562
client_builder = client_builder.proxy(proxy_url).disable_ssl_verification();

0 commit comments

Comments
 (0)