diff --git a/client/view/start.py b/client/view/start.py index a011aea..1614a14 100755 --- a/client/view/start.py +++ b/client/view/start.py @@ -20,12 +20,14 @@ class start(QtGui.QDialog): html = html.replace('<', '<') html = html.replace('>', '>') + html = html.replace(':-)', '☺') + html = html.replace(':-(', '☹') return html def ShowMessageAsText(self, txt): - self.message_buffer += '
' + self.getTimeStamp() + '' + self.htmlToText(txt) + '' + self.message_buffer += '
' + self.getTimeStamp() + ' <BOB> ' + self.htmlToText(txt) + '' def UpdateChat(self, messgServeur) : self.ShowMessageAsText(messgServeur)