diff --git a/src/padfoot/connection.rs b/src/padfoot/connection.rs index fe891d9..1683f43 100644 --- a/src/padfoot/connection.rs +++ b/src/padfoot/connection.rs @@ -286,8 +286,8 @@ impl Connection { let contacts_iface = telepathy::connection_interface_contacts_server(&f, (), move |_| c_rc3.clone()); - let c_rc4 = c_rc.clone(); - let contact_list_iface = + let _c_rc4 = c_rc.clone(); + let _contact_list_iface = telepathy::connection_interface_contact_list_server(&f, (), move |_| c_rc4.clone()); let c_rc5 = c_rc.clone(); @@ -303,7 +303,7 @@ impl Connection { .add(conn_iface) .add(avatars_iface) .add(contacts_iface) - .add(contact_list_iface) +// .add(contact_list_iface) .add(requests_iface) .add(simple_presence_iface), ); diff --git a/src/padfoot/connection/connection.rs b/src/padfoot/connection/connection.rs index f47e4ce..5b96268 100644 --- a/src/padfoot/connection/connection.rs +++ b/src/padfoot/connection/connection.rs @@ -19,7 +19,7 @@ pub fn connection_interfaces() -> Vec { "org.freedesktop.Telepathy.Connection".to_string(), "org.freedesktop.Telepathy.Connection.Interface.Avatars".to_string(), "org.freedesktop.Telepathy.Connection.Interface.Contacts".to_string(), - "org.freedesktop.Telepathy.Connection.Interface.ContactList".to_string(), +// "org.freedesktop.Telepathy.Connection.Interface.ContactList".to_string(), "org.freedesktop.Telepathy.Connection.Interface.Requests".to_string(), "org.freedesktop.Telepathy.Connection.Interface.SimplePresence".to_string(), ] diff --git a/src/padfoot/connection/contacts.rs b/src/padfoot/connection/contacts.rs index 26d391a..15fb973 100644 --- a/src/padfoot/connection/contacts.rs +++ b/src/padfoot/connection/contacts.rs @@ -51,7 +51,7 @@ impl telepathy::ConnectionInterfaceContacts for Connection { "org.freedesktop.Telepathy.Connection.Interface.Avatars/token".to_string(), Variant(Box::new("".to_string())), ); - +/* // TODO: we need to publish DBUS services on these endpoints props.insert( "org.freedesktop.Telepathy.Connection.Interface.ContactList/publish".to_string(), @@ -62,7 +62,7 @@ impl telepathy::ConnectionInterfaceContacts for Connection { "org.freedesktop.Telepathy.Connection.Interface.ContactList/subscribe".to_string(), Variant(Box::new(4)), ); - +*/ out.insert(*id, props); } @@ -89,7 +89,7 @@ impl telepathy::ConnectionInterfaceContacts for Connection { Ok(vec![ "org.freedesktop.Telepathy.Connection".to_string(), "org.freedesktop.Telepathy.Connection.Interface.Avatars".to_string(), - "org.freedesktop.Telepathy.Connection.Interface.ContactList".to_string(), +// "org.freedesktop.Telepathy.Connection.Interface.ContactList".to_string(), ]) } }