Commit 2a067d1d authored by sb's avatar sb

prevent drag'n'drop of contacts into zeroconf account

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