Closed bill2004158 closed 10 years ago
and it seems the message only be send to 1 tab/window?
In future, please send questions such as this one to the mailing list (conversejs@librelist.com). The issue tracker is for bugs and feature requests.
In the Plone addon collective.xmpp.chat which uses converse.js with prebind, a new session is created every time the page loads.
Each tab will therefore have a different SID and resource, meaning that each tabs is viewed as a separate chat client.
I then had the issue of making sure that all chat clients (i.e. each tab) show all sent and received messages.
I added some code which will forward messages to other connected resources, specifically for this case, where you want other tabs to see the messages you have sent. See here: https://github.com/collective/collective.xmpp.chat
Then recently I recently also merged a pull request which added carbon support (which is an XEP designed to solve the same problem): http://xmpp.org/extensions/xep-0280.html
that is great idea!
Hey,
I'm still having that behavior: only one tab receives messages. It's the one that last sent something (a message or maybe a presence).
Any hint? (I don't have much more detail right here.) Thanks.
Openfire requires a specific property to be set: route.all-resources
must be true.
its not my dessired behavior but: how in ejabberd?
if user open multiple tabs in same browser, does it mean the tabs should same rid? does this project works for such case?