prevent drag'n'drop of contacts into zeroconf account
This commit is contained in:
parent
3de26f73ec
commit
2a067d1d8c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue