Commit 2a067d1d authored by sb's avatar sb

prevent drag'n'drop of contacts into zeroconf account

parent 3de26f73
......@@ -3584,6 +3584,10 @@ _('If "%s" accepts this request you will know his or her status.') % jid)
if account_dest == 'all':
# drop on account row in merged mode: we can't know which account it is
if account_dest == gajim.ZEROCONF_ACC_NAME:
# drop on zeroconf account, no contact adds possible
# if account is not connected, do nothing
if gajim.connections[account_dest].connected < 2:
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