[Bug 49215] Move chat state to TpTextChannel

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Apr 27 12:22:56 CEST 2012


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

--- Comment #7 from Xavier Claessens <xclaesse at gmail.com> 2012-04-27 10:22:56 UTC ---
(In reply to comment #5)
> Comment on attachment 60671 [details] [review]
> Move ChatState to TpTextChannel
> 
> Review of attachment 60671 [details] [review]:
> -----------------------------------------------------------------
> 
> ::: telepathy-glib/automatic-client-factory.c
> @@ +71,5 @@
> >   *   </listitem>
> >   *   <listitem>
> > + *     <para>%TP_TEXT_CHANNEL_FEATURE_INCOMING_MESSAGES,
> > + *     %TP_TEXT_CHANNEL_FEATURE_SMS and %TP_TEXT_CHANNEL_FEATURE_CHAT_STATES
> > + *     for #TpTextChannel</para>
> 
> Should the automatic factory really prepare this by default? IMO, no - we don't
> on ordinary TpChannels, after all.
> 
> It's easy to imagine a client that doesn't care about chat states (naming no
> loggers in particular), and preparing this by default partially defeats the
> purpose of having it as a separate Feature rather than just part of CORE.
> 
> SMS and Password are also questionable, tbh... in next I'm tempted to say this
> shouldn't prepare them.

I agree tbh, it is easy enough to add features with
tp_client_factory_add_channel_features() anyway.

-- 
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