ignore when dropping file on a contact that doesn't support file transfer. Fixes #4058

This commit is contained in:
Yann Leboulanger 2009-09-22 08:21:01 +02:00
parent 80e4d0a36d
commit 40160ecdc2
1 changed files with 2 additions and 0 deletions

View File

@ -3988,6 +3988,8 @@ class RosterWindow:
return
c_dest = gajim.contacts.get_contact_with_highest_priority(account_dest,
jid_dest)
if not gajim.capscache.is_supported(c_dest, NS_FILE):
return
uri = data.strip()
uri_splitted = uri.split() # we may have more than one file dropped
try: