fix displaying pubsub nodes
This commit is contained in:
parent
205da23b89
commit
7c5fe335bb
|
@ -2098,8 +2098,11 @@ class DiscussionGroupsBrowser(AgentBrowser):
|
||||||
name = gobject.markup_escape_text(name)
|
name = gobject.markup_escape_text(name)
|
||||||
name = '<b>%s</b>' % name
|
name = '<b>%s</b>' % name
|
||||||
|
|
||||||
|
if parent_node:
|
||||||
parent_iter = self._get_iter(parent_node)
|
parent_iter = self._get_iter(parent_node)
|
||||||
if not self._in_list(node):
|
else:
|
||||||
|
parent_iter = None
|
||||||
|
if not node or not self._in_list(node):
|
||||||
self.model.append(parent_iter, (jid, node, name, dunno, subscribed))
|
self.model.append(parent_iter, (jid, node, name, dunno, subscribed))
|
||||||
self.cache.get_items(jid, node, self._add_items, force = force,
|
self.cache.get_items(jid, node, self._add_items, force = force,
|
||||||
args = (force,))
|
args = (force,))
|
||||||
|
|
Loading…
Reference in New Issue