when chat window is opened, we print the messages !
This commit is contained in:
parent
9bcfd27812
commit
c39e0e80e9
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue