Skip to content
Snippets Groups Projects
Commit ac4a2c94 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

little BugFix : when we want to remove an invalide contact, don't crash

parent fcee8b2a
No related branches found
No related tags found
No related merge requests found
......@@ -771,6 +771,8 @@ class GajimCore:
con.removeRosterItem(ev[2])
con.requestRegInfo(ev[2])
agent_info = con.getRegInfo()
if not agent_info:
return
key = agent_info['key']
iq = common.jabber.Iq(to=ev[2], type="set")
q = iq.setQuery(common.jabber.NS_REGISTER)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment