we print an empty line only if we restore line(s)
This commit is contained in:
parent
8a3d23cf81
commit
2a3ac7a89d
|
@ -190,7 +190,6 @@ class Tabbed_chat_window(chat.Chat):
|
||||||
|
|
||||||
#restore previous conversation
|
#restore previous conversation
|
||||||
self.restore_conversation(user.jid)
|
self.restore_conversation(user.jid)
|
||||||
self.print_empty_line(user.jid)
|
|
||||||
|
|
||||||
|
|
||||||
#print queued messages
|
#print queued messages
|
||||||
|
@ -363,3 +362,6 @@ class Tabbed_chat_window(chat.Chat):
|
||||||
text = ':'.join(msg[2:])[0:-1] #remove the latest \n
|
text = ':'.join(msg[2:])[0:-1] #remove the latest \n
|
||||||
self.print_conversation_line(text, jid, kind, name, tim,
|
self.print_conversation_line(text, jid, kind, name, tim,
|
||||||
['small'], ['small', 'grey'], ['small', 'grey'])
|
['small'], ['small', 'grey'], ['small', 'grey'])
|
||||||
|
|
||||||
|
if len(lines):
|
||||||
|
self.print_empty_line(jid)
|
||||||
|
|
Loading…
Reference in New Issue