quick frontend, primitivus, wix: MUC private messages management
/!\ not fully finished, backend part is not done yet /!\
- as resources are discarded to manage chat windows lists, a pretty dirty hack is done to work around this:
full jid is escaped using a prefix (it becomes invalid and resource is preserved).
- new quick_utils module, with helper methods. escapePrivate and unescapePrivate implementations
- MUC private messages are not managed in Wix yet
This commit is contained in:
parent
4225b694d0
commit
8ad8ca1933
1 changed files with 163 additions and 77 deletions
|
|
@ -201,7 +201,7 @@ class Chat(wx.Frame, QuickChat):
|
|||
|
||||
def onEnterPressed(self, event):
|
||||
"""Behaviour when enter pressed in send line."""
|
||||
self.host.bridge.sendMessage(self.target.short if self.type=='group' else self.target,
|
||||
self.host.sendMessage(self.target.short if self.type=='group' else self.target,
|
||||
event.GetString(),
|
||||
mess_type = "groupchat" if self.type=='group' else "chat",
|
||||
profile_key=self.host.profile)
|
||||
|
|
|
|||
Loading…
Reference in a new issue