Commit 34884a79 authored by Daniel Brötzmann's avatar Daniel Brötzmann


parent 7f166f8d
Pipeline #4204 passed with stages
in 2 minutes and 43 seconds
......@@ -41,7 +41,9 @@ from gi.repository import Pango
from gi.repository import GObject
from gi.repository import GLib
from gi.repository import Gio
from nbxmpp.protocol import NS_FILE, NS_ROSTERX, NS_CONFERENCE
from nbxmpp.protocol import NS_JINGLE_FILE_TRANSFER_5
from nbxmpp.protocol import NS_ROSTERX
from nbxmpp.protocol import NS_CONFERENCE
from nbxmpp.structs import MoodData
from nbxmpp.structs import ActivityData
......@@ -4250,7 +4252,7 @@ class RosterWindow:
ft_preference = app.config.get_per(
'accounts', account_dest, 'filetransfer_preference')
if ft_preference == 'jingle':
if c_dest.supports(NS_FILE):
if c_dest.supports(NS_JINGLE_FILE_TRANSFER_5):
c = app.contacts.get_contact_with_highest_priority(
account, jid)
for uri in uris:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment