bugfix with DND when we mergeaccout or have only one account
This commit is contained in:
parent
6b26a5d332
commit
bfca18b3a9
|
@ -1962,7 +1962,10 @@ _('If "%s" accepts this request you will know his status.') %jid).get_response()
|
|||
model, iter = treeselection.get_selected()
|
||||
path = model.get_path(iter)
|
||||
data = ''
|
||||
if len(path) == 3:
|
||||
merge = 0
|
||||
if gajim.config.get('mergeaccounts') or len(gajim.connections) == 1:
|
||||
merge = 1
|
||||
if len(path) == 3 - merge:
|
||||
data = model[iter][3]
|
||||
selection.set(selection.target, 8, data)
|
||||
|
||||
|
|
Loading…
Reference in New Issue