aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tls-certificate.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy/empathy-tls-certificate.c')
-rw-r--r--libempathy/empathy-tls-certificate.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libempathy/empathy-tls-certificate.c b/libempathy/empathy-tls-certificate.c
index d50cb6a87..bc5dff0f3 100644
--- a/libempathy/empathy-tls-certificate.c
+++ b/libempathy/empathy-tls-certificate.c
@@ -22,6 +22,8 @@
#include "empathy-tls-certificate.h"
+#include <telepathy-glib/proxy-subclass.h>
+
#define DEBUG_FLAG EMPATHY_DEBUG_TLS
#include "empathy-debug.h"
#include "empathy-utils.h"
@@ -158,6 +160,9 @@ tls_certificate_init_async (GAsyncInitable *initable,
"bus-name", priv->bus_name,
"dbus-daemon", dbus, NULL);
+ tp_proxy_add_interface_by_id (priv->proxy,
+ EMP_IFACE_QUARK_AUTHENTICATION_TLS_CERTIFICATE);
+
/* call GetAll() on the certificate */
tp_cli_dbus_properties_call_get_all (priv->proxy,
-1, EMP_IFACE_AUTHENTICATION_TLS_CERTIFICATE,