Skip to content
Snippets Groups Projects
Commit 2a3ac7a8 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

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

parent 8a3d23cf
No related branches found
No related tags found
No related merge requests found
...@@ -190,7 +190,6 @@ class Tabbed_chat_window(chat.Chat): ...@@ -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): ...@@ -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)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment