update la text_win lors d'un changement de topic
This commit is contained in:
parent
693892498b
commit
ea3e1ce3de
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue