From: Xavier Claessens <xclaesse@gmail.com>
svn path=/trunk/; revision=2725
EmpathyTpGroup *group;
McAccount *account;
TpChannel *channel;
EmpathyTpGroup *group;
McAccount *account;
TpChannel *channel;
gboolean listing_pending_messages;
/* Queue of messages not signalled yet */
GQueue *messages_queue;
gboolean listing_pending_messages;
/* Queue of messages not signalled yet */
GQueue *messages_queue;
"handle_type", &handle_type,
NULL);
"handle_type", &handle_type,
NULL);
- if (handle_type != TP_HANDLE_TYPE_NONE && handle != 0) {
- GArray *handles;
- gchar **names;
-
- handles = g_array_new (FALSE, FALSE, sizeof (guint));
- g_array_append_val (handles, handle);
- tp_cli_connection_run_inspect_handles (connection, -1,
- handle_type, handles,
- &names, NULL, NULL);
- priv->id = *names;
- g_array_free (handles, TRUE);
- g_free (names);
- }
-
if (handle_type == TP_HANDLE_TYPE_CONTACT && handle != 0) {
priv->remote_contact = empathy_contact_factory_get_from_handle (priv->factory,
priv->account,
if (handle_type == TP_HANDLE_TYPE_CONTACT && handle != 0) {
priv->remote_contact = empathy_contact_factory_get_from_handle (priv->factory,
priv->account,
g_ptr_array_free (priv->properties, TRUE);
}
g_ptr_array_free (priv->properties, TRUE);
}
g_queue_free (priv->messages_queue);
g_queue_free (priv->pending_messages_queue);
g_queue_free (priv->messages_queue);
g_queue_free (priv->pending_messages_queue);
g_return_val_if_fail (EMPATHY_IS_TP_CHAT (chat), NULL);
g_return_val_if_fail (priv->ready, NULL);
g_return_val_if_fail (EMPATHY_IS_TP_CHAT (chat), NULL);
g_return_val_if_fail (priv->ready, NULL);
+ return tp_channel_get_identifier (priv->channel);