diff frontends/quick_frontend/quick_app.py @ 79:db0a0f000e37

Chat presentation enhancement - core: message signal is not sent anymore for groupchat type, cause MUC chat server do it for us - wix: user nick can now be specified to chat windows, usefull for colorization - memory: full jid are now sent - wix: message from user are now in black for group chat
author Goffi <goffi@goffi.org>
date Wed, 31 Mar 2010 19:56:43 +1100
parents ace2af8abc5a
children fc7583282d40
line wrap: on
line diff
--- a/frontends/quick_frontend/quick_app.py	Wed Mar 31 17:16:27 2010 +1100
+++ b/frontends/quick_frontend/quick_app.py	Wed Mar 31 19:56:43 2010 +1100
@@ -213,6 +213,7 @@
             return
         debug (_("Room [%(room_name)s] joined by %(profile)s, users presents:%(users)s") % {'room_name':room_id+'@'+room_service, 'profile': profile, 'users':room_nicks})
         room_jid=room_id+'@'+room_service
+        self.chat_wins[room_jid].setUserNick(user_nick)
         self.chat_wins[room_jid].setType("group")
         self.chat_wins[room_jid].setPresents([user_nick]+room_nicks)