* Authors: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
*/
-#include <config.h>
-
+#include "config.h"
#include "empathy-client-factory.h"
+#include <tp-account-widgets/tpaw-utils.h>
+#include <telepathy-glib/telepathy-glib-dbus.h>
+
#include "empathy-tp-chat.h"
#include "empathy-utils.h"
if (!tp_strdiff (chan_type, TP_IFACE_CHANNEL_TYPE_TEXT))
{
- TpAccount *account;
-
- account = tp_connection_get_account (conn);
-
return TP_CHANNEL (empathy_tp_chat_new (
- TP_SIMPLE_CLIENT_FACTORY (factory), account, conn, path,
+ TP_SIMPLE_CLIENT_FACTORY (factory), conn, path,
properties));
}
feature = TP_ACCOUNT_FEATURE_ADDRESSING;
g_array_append_val (features, feature);
+ feature = TP_ACCOUNT_FEATURE_STORAGE;
+ g_array_append_val (features, feature);
+
return features;
}
* is already in the contact list. This feature is pretty cheap to
* prepare as it doesn't prepare the full roster. */
TP_CONTACT_FEATURE_SUBSCRIPTION_STATES,
+ TP_CONTACT_FEATURE_CONTACT_GROUPS,
+ TP_CONTACT_FEATURE_CLIENT_TYPES,
};
features = chainup->dup_contact_features (factory, connection);
GAsyncResult *result,
GError **error)
{
- empathy_implement_finish_return_copy_pointer (self,
+ tpaw_implement_finish_return_copy_pointer (self,
empathy_client_factory_dup_contact_by_id_async, g_object_ref);
}