diff frontends/src/quick_frontend/quick_chat.py @ 1762:2e2fb462729a

quick_frontend, primitivus (chat): printing the history is left to quick_frontend
author souliane <souliane@mailoo.org>
date Tue, 22 Dec 2015 11:39:45 +0100
parents d047535e3ed5
children 9b557e76a5a8
line wrap: on
line diff
--- a/frontends/src/quick_frontend/quick_chat.py	Fri Dec 18 19:36:00 2015 +0100
+++ b/frontends/src/quick_frontend/quick_chat.py	Tue Dec 22 11:39:45 2015 +0100
@@ -52,6 +52,9 @@
         self.nick = None
         self.games = {}  # key=game name (unicode), value=instance of quick_games.RoomGame
 
+        if type_ == C.CHAT_ONE2ONE:
+            self.historyPrint(profile=self.profile)
+
     def __str__(self):
         return u"Chat Widget [target: {}, type: {}, profile: {}]".format(self.target, self.type, self.profile)