Permalink
Browse files

Change "msg" by "fmsg" makes chat-window be able to show text with co…

…lors/fonts/etc... Thanks to arantes
  • Loading branch information...
1 parent 44b0c48 commit c7d7368ef8dd88bb22bb9ea5945ce2e3276c4f1b alexandernst committed Aug 29, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 amsn2/gui/front_ends/qt4/chat_window.py
@@ -200,7 +200,7 @@ def onMessageReceived(self, messageview, formatting=None):
html = '<div>'
if (self.last_sender != sender):
html += '<span style="%s">%s</span><br/>' % (self.nickstyle, nick)
- html += '<span style="%s">[%s] %s</span></div>' % (self.msgstyle, time.strftime('%X'), msg)
+ html += '<span style="%s">[%s] %s</span></div>' % (self.msgstyle, time.strftime('%X'), fmsg)
self.ui.textEdit.append(html)
self.last_sender = sender

0 comments on commit c7d7368

Please sign in to comment.