开发者

How can I inform an XMPP sender of other clients sending messages on the sender's behalf?

I'm building a chat service that supports connectivity over the web as well as XMPP. Assume we have two users, Alice and Bob, chatting with each other over the web interface. Alice is simultaneously logged via web and XMPP. If Bob sends a message to Alice, she sees the message in both clients, but if she replies via the web, the XMPP client ends up with a one-sided conversation: Alice's messages won't be part of the chat history, but Bob's messages will continue to arrive.

Is there any way in XMPP 开发者_运维问答to inform a sender that a different client sent a message on the sender's behalf, to keep the conversations synchronized?


Get your server vendor to implement XEP-0280: Message Carbons. Then you'll need to turn it on in your client.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜