[Telepathy] Requestable and Immutable properteries (was: API sketches for encrypted channels, and OTR)

Olivier Crête olivier.crete at collabora.co.uk
Mon Jan 4 07:41:04 PST 2010


On Mon, 2010-01-04 at 13:08 +0000, Simon McVittie wrote:
> On Wed, 30 Dec 2009 at 08:35:58 +1100, Danielle Madeley wrote:
> > This is somewhat unrelated, but do you think it's a good idea to add
> > property flags to the spec for things like this, so that we can display
> > this information in the top-right of the box in the spec. Something like
> > 
> > <property ... tp:flags="requestable,immutable">
> 
> If anything, I'd prefer <... tp:requestable="yes" tp:immutable="yes"/>.
> So far we've just been using fairly consistent text ("this property is
> immutable" or "change notification is via the ThingChanged signal").
> 
> One advantage of always having text like that is that it will hopefully remind
> people that they should explicitly say what the change notification is, which
> might in turn remind them to implement change notification at all :-)

Maybe there should be a "tp:notification="" attribute on the property
tag and if its not there, then its immutable. That would force people to
have it.

-- 
Olivier Crête
olivier.crete at collabora.co.uk
Collabora Ltd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/telepathy/attachments/20100104/938c2665/attachment.pgp 


More information about the telepathy mailing list