update la text_win lors d'un changement de topic

This commit is contained in:
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 2010-01-31 19:45:03 +00:00
parent 693892498b
commit ea3e1ce3de

View file

@ -300,6 +300,7 @@ class Gui(object):
room.topic = stanza.getSubject().encode('utf-8').replace('\n', '|') room.topic = stanza.getSubject().encode('utf-8').replace('\n', '|')
if room == self.current_room(): if room == self.current_room():
self.window.topic_win.refresh(room.topic) self.window.topic_win.refresh(room.topic)
self.window.text_win.refresh(room.name)
curses.doupdate() curses.doupdate()
else: else:
room.add_message(nick_from, body) room.add_message(nick_from, body)