[Bug 39644] add custom properties to file transfers

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Sep 30 16:31:56 CEST 2011


--- Comment #1 from Will Thompson <will.thompson at collabora.co.uk> 2011-09-30 07:31:56 PDT ---
I suggest we could have Channel.Interface.FTMetadata:
  property ServiceName: s
  property Stuff: a{sv}

by analogy to Service[Name] and Parameters on C.T.{Stream,DBus}Tube and
C.I.Tube. These could just be shoved into a data form or something in the FT

Having a separate ServiceName property would make it easier for applications to
exchange files, bypassing the standard handler. For instance, the Banshee
Telepathy plugin currently matches on MimeType; I think it would be more robust
to be able to explicitly direct transfers to Banshee, just like one can direct
tubes (and ytstenut channels) to particular named services. Splitting it out of
the a{sv} makes it possible to use it in a filter.

We could restrict the 'v' to 's' and 'as', or possibly just have an a{ss} like
Tubes and use the same XMPP-level representation as used by tubes, and reserve
a specific key for the ServiceName property. or we could make a new thing.

We would define a caps URI for our metadata extension on FT; and advertise
supported values of ServiceName as fragments at the end of it
("#uk.co.wjt.icedcoffee"). Clients can use ContactCaps to get at and set 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