Deltachat connects on connection startup

This commit is contained in:
2020-05-12 01:25:48 +01:00
parent 9151f64a6d
commit 2a565b3ee7
7 changed files with 228 additions and 44 deletions

View File

@@ -23,8 +23,8 @@ fn run() -> Result<()> {
let f = Factory::new_fn::<()>();
let mut tree = f.tree(());
let cm_iface = telepathy::connection_manager_server(&f, (), move |_| cm_rc.clone() );
let proto_iface = telepathy::protocol_server(&f, (), move |_| proto_rc.clone() );
let cm_iface = telepathy::connection_manager_server(&f, (), move |_| cm_rc.clone());
let proto_iface = telepathy::protocol_server(&f, (), move |_| proto_rc.clone());
tree = tree.add(
f.object_path(CM_OBJECT_PATH, ())