bridge, bridge constructor: fixed mix stuff

This commit is contained in:
Goffi 2011-01-30 22:54:58 +01:00
commit 894e276dec

View file

@ -194,7 +194,7 @@ class Chat(wx.Frame, QuickChat):
"""Behaviour when enter pressed in send line."""
self.host.bridge.sendMessage(self.target.short if self.type=='group' else self.target,
event.GetString(),
type = "groupchat" if self.type=='group' else "chat",
mess_type = "groupchat" if self.type=='group' else "chat",
profile_key=self.host.profile)
self.textBox.Clear()