quick_frontend, primitivus (chat): printing the history is left to quick_frontend

This commit is contained in:
souliane 2015-12-22 11:39:45 +01:00
commit f153fd885d

View file

@ -93,9 +93,7 @@ class Chat(PrimitivusWidget, QuickChat):
PrimitivusWidget.__init__(self, self.pile, self.target)
# we must adapt the behaviour with the type
if type_ == C.CHAT_ONE2ONE:
self.historyPrint(profile=self.profile)
elif type_ == C.CHAT_GROUP:
if type_ == C.CHAT_GROUP:
if len(self.chat_colums.contents) == 1:
self.occupants_list = sat_widgets.GenericList([], option_type=sat_widgets.ClickableText, on_click=self._occupantsClicked)
self.occupants_panel = sat_widgets.VerticalSeparator(self.occupants_list)