Commit 271a38ea authored by Yann Leboulanger's avatar Yann Leboulanger

fix typo that prevent file transfer proxy discovering at startup. Fixes #4424

parent d21723ca
......@@ -737,7 +737,7 @@ def _DiscoverItemsCB(self, con, iq_obj):
hostname = gajim.config.get_per('accounts',,
id = iq_obj.getID()
if jid == hostname and id[0] == 'Gajim_':
if jid == hostname and id[:6] == 'Gajim_':
for item in items:
self.discoverInfo(item['jid'], id_prefix='Gajim_')
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