Opened 8 years ago
Last modified 7 years ago
#3865 new enhancement
[PATCH] Properly handle XMPP private messages
Reported by: | scythetwirler | Owned by: | |
---|---|---|---|
Priority: | Should Have | Milestone: | Backlog |
Component: | Multiplayer lobby | Keywords: | patch |
Cc: | Patch: |
Description
XMPP has both room level private messages (arena20.conference.lobby.wildfiregames.com/user) and regular private messages (user@…).
Attachments (1)
Change History (9)
comment:1 by , 8 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
by , 8 years ago
comment:2 by , 8 years ago
comment:3 by , 8 years ago
Keywords: | simple added |
---|
Can't be that hard to receive the private messages on join, if we can receive them afterwards, right?
comment:5 by , 8 years ago
Keywords: | review simple removed |
---|---|
Milestone: | Alpha 21 → Backlog |
Simple: not Backlogging: due to lack of progress Review: Messages to elexis3@…/0ad are received, messages to elexis3@… are not.
All private messages that I receive after applying the XmppClient.cpp
patch are still handled in XmppClient::handleMessage
and not the changed XmppClient::handleMUCMessage
, so either I'm testing incorrectly or the patch doesn't work.
Looking at the gloox specs ( https://camaya.net/api/gloox/classgloox_1_1MUCRoomHandler.html#a759867d6c8b09cf9b62fe2dd378588e8 ) I see that I must be testing incorrectly.
Notice that sending a PM to a user means that the user will likely answer in the public chat, which is likely not intended. This is also mentioned by the spec:
If the message is private, and you want to answer it privately, you should create a new MessageSession to the user's full room nick and use that for any further private communication with the user.
To close the ticket as fixed, all PMs should be shown at least.
comment:7 by , 7 years ago
Owner: | removed |
---|---|
Status: | assigned → new |
translate("Received Whisper")
, nottranslate("Private")
?