From c39e0e80e949233cf68589d3e5cbc0e8de81f8f6 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger <asterix@lagaule.org> Date: Fri, 3 Jun 2005 21:24:59 +0000 Subject: [PATCH] when chat window is opened, we print the messages ! --- src/roster_window.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/roster_window.py b/src/roster_window.py index 2b74e12076..730e24259c 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -987,6 +987,10 @@ class Roster_window: no_queue = True if self.plugin.queues[account].has_key(jid): no_queue = False + if self.plugin.windows[account]['chats'].has_key(jid): + self.plugin.windows[account]['chats'][jid].print_conversation(msg, + jid, tim = tim, encrypted = encrypted) + return #We save it in a queue if not self.plugin.queues[account].has_key(jid): self.plugin.queues[account][jid] = Queue.Queue(50) -- GitLab