message sending bug fixes + sortilege update

- sortilege now use default profile. /!\ sortilege is really buggy currently, need some attention
This commit is contained in:
Goffi 2010-02-04 01:06:36 +11:00
commit 9fd444d937

View file

@ -56,7 +56,7 @@ class Chat(wx.Frame, QuickChat):
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 @@ class Chat(wx.Frame, QuickChat):
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()