Skip to content

Commit 2376763

Browse files
committed
feat(multiverse): enable threading support for multiverse with subscriptions
1 parent 3665ed0 commit 2376763

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},
@@ -512,7 +513,8 @@ async fn configure_client(cli: Cli) -> Result<Client> {
512513
backup_download_strategy: BackupDownloadStrategy::AfterDecryptionFailure,
513514
auto_enable_backups: true,
514515
})
515-
.with_enable_share_history_on_invite(true);
516+
.with_enable_share_history_on_invite(true)
517+
.with_threading_support(ThreadingSupport::Enabled { with_subscriptions: true });
516518

517519
if let Some(proxy_url) = proxy {
518520
client_builder = client_builder.proxy(proxy_url).disable_ssl_verification();

0 commit comments

Comments
 (0)