[stephan] do not allow del key on account/group row
This commit is contained in:
parent
b642f0ee4f
commit
73cfebd78f
|
@ -1060,6 +1060,8 @@ _('If "%s" accepts this request you will know his status.') %jid)
|
||||||
jid = model[iter][3].decode('utf-8')
|
jid = model[iter][3].decode('utf-8')
|
||||||
account = model[iter][4].decode('utf-8')
|
account = model[iter][4].decode('utf-8')
|
||||||
type = model[iter][2]
|
type = model[iter][2]
|
||||||
|
if type in ('account', 'group'):
|
||||||
|
return
|
||||||
user = gajim.contacts[account][jid][0]
|
user = gajim.contacts[account][jid][0]
|
||||||
if type == 'contact':
|
if type == 'contact':
|
||||||
self.on_req_usub(widget, user, account)
|
self.on_req_usub(widget, user, account)
|
||||||
|
|
Loading…
Reference in New Issue