[Telepathy-commits] [telepathy-spec/master] FileTransfer shouldn't not be advertised if user doesn't claim to implement it
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Tue Feb 10 03:06:52 PST 2009
---
spec/Channel_Type_File_Transfer.xml | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/spec/Channel_Type_File_Transfer.xml b/spec/Channel_Type_File_Transfer.xml
index c88834c..ed2cfb6 100644
--- a/spec/Channel_Type_File_Transfer.xml
+++ b/spec/Channel_Type_File_Transfer.xml
@@ -76,6 +76,15 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
<p>The File channel type may be requested for handles of type
HANDLE_TYPE_CONTACT. If the channel is requested for any other
handle type then the behaviour is undefined.</p>
+
+ <p>Connection managers SHOULD NOT advertise support for file transfer to
+ other contacts unless it has been indicated by a call to
+ <tp:dbus-ref
+ namespace="org.freedesktop.Telepathy.Connection.Interface.ContactCapabilities.DRAFT">SetSelfCapabilities</tp:dbus-ref>.
+ </p>
+ <tp:rationale>
+ <p>People would send us files, and it would always fail. That would be silly.</p>
+ </tp:rationale>
</tp:docstring>
<property name="State" type="u" tp:type="File_Transfer_State"
--
1.5.6.5
More information about the telepathy-commits
mailing list