[Bug 46783] [next] Fix FileTransfer ContentHash property

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Mar 1 13:55:59 CET 2012


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

--- Comment #1 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2012-03-01 04:55:59 PST ---
(In reply to comment #0)
> How does this sound then?

Entirely reasonable, if I'm interpreting it correctly:

> The incoming transfer case is pretty much the same

I assume you mean "... the same as it always was" rather than "the same as the
outgoing case"? ContentHashType is chosen by the sender, and ContentHash is
computed by the sender, surely? (Including "sender does not send a hash", which
you could view as a sort of trivial choice/computation.)

I think the semantics of CH, CHT are sort of the opposite of URI: you can
meaningfully set URI right up until you Accept an incoming file transfer, but
not afterwards, and it's immutable on outgoing FTs; conversely, you can
meaningfully set CH, CHT right up until you Provide an outgoing FT, but they're
immutable on incoming FTs.

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