we print an empty line only if we restore line(s)

This commit is contained in:
Yann Leboulanger 2005-06-03 21:35:46 +00:00
parent 8a3d23cf81
commit 2a3ac7a89d
1 changed files with 3 additions and 1 deletions

View File

@ -190,7 +190,6 @@ class Tabbed_chat_window(chat.Chat):
#restore previous conversation
self.restore_conversation(user.jid)
self.print_empty_line(user.jid)
#print queued messages
@ -363,3 +362,6 @@ class Tabbed_chat_window(chat.Chat):
text = ':'.join(msg[2:])[0:-1] #remove the latest \n
self.print_conversation_line(text, jid, kind, name, tim,
['small'], ['small', 'grey'], ['small', 'grey'])
if len(lines):
self.print_empty_line(jid)