fix traceback when we get bookmarks and roster is not present.
This commit is contained in:
parent
15b3ba35b1
commit
7a976135e2
1 changed files with 13 additions and 12 deletions
|
@ -569,6 +569,7 @@ class RosterWindow:
|
|||
big_brother_jid)
|
||||
child_iters = self._get_contact_iter(big_brother_jid, big_brother_account,
|
||||
model=self.model)
|
||||
if child_iters:
|
||||
parent_iter = self.model.iter_parent(child_iters[0])
|
||||
parent_type = self.model[parent_iter][C_TYPE]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue