[Bug 29531] high-level API for text channels

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Oct 28 16:54:45 CEST 2010


https://bugs.freedesktop.org/show_bug.cgi?id=29531

--- Comment #8 from Guillaume Desmottes <guillaume.desmottes at collabora.co.uk> 2010-10-28 07:54:45 PDT ---
(In reply to comment #4)
> /* TpContact -> TpChannelChatState */
> GHashTable * tp_text_channel_get_chat_states (TpTextChannel *self);
> 
> "chat-state-changed" : (TpContact *contact, TpChannelChatState state)
> 
> TP_TEXT_CHANNEL_FEATURE_CHAT_STATE : fetch chat states and connect
> ChatStateChanged

Actually most of this already exists: TP_CHANNEL_FEATURE_CHAT_STATES,
"chat-state-changed" and tp_channel_get_chat_state().
Should we deprecate this API and replace it by a TpTextChannel version?

Maybe the new version of tp_channel_get_chat_state() and the sig should take a
TpContact
instead?

Do we want the plural version? I guess it can be useful.

> gboolean tp_text_channel_chat_state_supported (TpTextChannel *self);

Do we want that or client should just check the interfaces supported?

> void tp_text_channel_set_chat_state_async (TpTextChannel *self,
>     TpChannelChatState state,
>     GAsyncReadyCallback callback,
>     gpointer user_data);
> 
> gboolean tp_text_channel_set_chat_state_finish (TpTextChannel *self,
>     GAsyncResult *result,
>     GError **error);

We still need this.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list