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
|
||||
value returned by the callbacks.
|
||||
"""
|
||||
for key in information:
|
||||
self.addstr(information[key](jid),
|
||||
for plugin in information.values():
|
||||
self.addstr(plugin(jid),
|
||||
to_curses_attr(get_theme().COLOR_INFORMATION_BAR))
|
||||
|
||||
def write_resource_information(self, resource):
|
||||
|
|
Loading…
Reference in a new issue