diff frontends/wix/chat.py @ 67:0e50dd3a234a

message sending bug fixes + sortilege update - sortilege now use default profile. /!\ sortilege is really buggy currently, need some attention
author Goffi <goffi@goffi.org>
date Thu, 04 Feb 2010 01:06:36 +1100
parents 8147b4f40809
children 8f2ed279784b
line wrap: on
line diff
--- a/frontends/wix/chat.py	Wed Feb 03 23:35:57 2010 +1100
+++ b/frontends/wix/chat.py	Thu Feb 04 01:06:36 2010 +1100
@@ -56,7 +56,7 @@
         self.font["points"] = self.chatWindow.GetFont().GetPointSize()
         self.font["family"] = self.chatWindow.GetFont().GetFamily()
         
-        self.historyPrint()
+        self.historyPrint(profile=self.host.profile)
 
         #misc
         self.textBox.SetFocus()
@@ -87,7 +87,7 @@
 
     def onEnterPressed(self, event):
         """Behaviour when enter pressed in send line."""
-        self.host.bridge.sendMessage(self.to_jid, event.GetString())
+        self.host.bridge.sendMessage(self.to_jid, event.GetString(), profile_key=self.host.profile)
         self.textBox.Clear()