TpFileTransferChannel: Add streaming error report
@xclaesse
Submitted by Xavier Claessens Assigned to Telepathy bugs list
Description
TpFileTransferChannel has no way to report streaming errors. _provide_file_async () and _accept_file_async() complete as soon as the DBus-level opperation finishes, but can't wait for the whole streaming process to be done. We could either extend those functions to cover the streaming part as well (unit tests explicitly assume they complete early, so that's a behaviour change), or we can add a "streaming-error" signal.
I would prefer adding a signal, and add it to the spec as well, so an observer can know about streaming errors as well. Also that signal would be useful if we do the streaming in the CM for haze. Otoh, I would consider the spec part out of scope for this bug, it could need a bit more rethinking, like simply giving the URI to the CM and let it do the job.
Version: git master