prevent drag'n'drop of contacts into zeroconf account
This commit is contained in:
parent
3de26f73ec
commit
2a067d1d8c
|
@ -3584,6 +3584,10 @@ _('If "%s" accepts this request you will know his or her status.') % jid)
|
||||||
if account_dest == 'all':
|
if account_dest == 'all':
|
||||||
# drop on account row in merged mode: we can't know which account it is
|
# drop on account row in merged mode: we can't know which account it is
|
||||||
return
|
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 account is not connected, do nothing
|
||||||
if gajim.connections[account_dest].connected < 2:
|
if gajim.connections[account_dest].connected < 2:
|
||||||
|
|
Loading…
Reference in New Issue