ConversationInfoWin: Use similar pattern as MucInfoWin to loop through plugins
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
167920a9d0
commit
f00866c56a
1 changed files with 2 additions and 2 deletions
|
@ -176,8 +176,8 @@ class ConversationInfoWin(InfoWin):
|
||||||
Write all information added by plugins by getting the
|
Write all information added by plugins by getting the
|
||||||
value returned by the callbacks.
|
value returned by the callbacks.
|
||||||
"""
|
"""
|
||||||
for key in information:
|
for plugin in information.values():
|
||||||
self.addstr(information[key](jid),
|
self.addstr(plugin(jid),
|
||||||
to_curses_attr(get_theme().COLOR_INFORMATION_BAR))
|
to_curses_attr(get_theme().COLOR_INFORMATION_BAR))
|
||||||
|
|
||||||
def write_resource_information(self, resource):
|
def write_resource_information(self, resource):
|
||||||
|
|
Loading…
Reference in a new issue