Unirgy
Unirgy

Reputation: 1535

Sharing Jabber chat session between multiple clients

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.

Upvotes: 11

Views: 6030

Answers (1)

deeringc
deeringc

Reputation: 178

I think what you're looking for is XEP-0280 Message Carbons. Basically the server takes care of relaying the chat to all of your online resources so that you have the same chat session across all devices.

You even get chatstates from all of your other resources so you can infer whether or not you should show an unread IM notification to the user on your resource or not. You'll need client and server support for this, and it looks like ejabberd has implemented it via this module.

Upvotes: 8

Related Questions