void empathy_join_muc (TpAccount *account, const gchar *room_name, gint64 timestamp) { create_text_channel (account, TP_HANDLE_TYPE_ROOM, room_name, FALSE, timestamp, NULL, NULL); }
void empathy_chat_with_contact_id (TpAccount *account, const gchar *contact_id, gint64 timestamp) { create_text_channel (account, TP_HANDLE_TYPE_CONTACT, contact_id, FALSE, timestamp); }
/* @callback is optional, but if it's provided, it should call the right * _finish() func that we call in ensure_text_channel_cb() */ void empathy_chat_with_contact_id (TpAccount *account, const gchar *contact_id, gint64 timestamp, GAsyncReadyCallback callback, gpointer user_data) { create_text_channel (account, TP_HANDLE_TYPE_CONTACT, contact_id, FALSE, timestamp, callback, user_data); }