11

I'm using Jitsi on client side and ejabberd on server.

It seems that the chat sessions are specific to clients, i.e. if I'm logged in to the same account from 2 different clients, there will be 2 separate sessions, and one can't see what's happening in another.

Is it possible to share the sessions for the same account on all clients? Like Skype or GTalk. If yes, is it a server configuration or client?

Thank you.

4

1 回答 1

8

我认为您正在寻找的是XEP-0280 Message Carbons。基本上,服务器负责将聊天中继到您的所有在线资源,以便您在所有设备上拥有相同的聊天会话。

您甚至可以从所有其他资源中获取聊天状态,这样您就可以推断是否应该在您的资源上向用户显示未读 IM 通知。你需要客户端和服务器支持,看起来 ejabberd 已经通过这个模块实现了它。

于 2013-06-23T18:37:10.007 回答