Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sharing Jabber chat session between multiple clients

Tags:

xmpp

ejabberd

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.

like image 537
Unirgy Avatar asked Jun 23 '13 09:06

Unirgy


1 Answers

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.

like image 200
deeringc Avatar answered Oct 26 '22 11:10

deeringc