ignore when dropping file on a contact that doesn't support file transfer. Fixes #4058
This commit is contained in:
parent
80e4d0a36d
commit
40160ecdc2
|
@ -3988,6 +3988,8 @@ class RosterWindow:
|
||||||
return
|
return
|
||||||
c_dest = gajim.contacts.get_contact_with_highest_priority(account_dest,
|
c_dest = gajim.contacts.get_contact_with_highest_priority(account_dest,
|
||||||
jid_dest)
|
jid_dest)
|
||||||
|
if not gajim.capscache.is_supported(c_dest, NS_FILE):
|
||||||
|
return
|
||||||
uri = data.strip()
|
uri = data.strip()
|
||||||
uri_splitted = uri.split() # we may have more than one file dropped
|
uri_splitted = uri.split() # we may have more than one file dropped
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue