I have a web chat application, when user 1 login by one account in many browsers with difference resource and send a message to user 2.
Ex: user 1 login in chrome with jid: user1@localhost/chrome user 1 login in chrome whit jid: user1@localhost/firefox
User 1 in chrome send chat message for user2 with content "hello".
I got a problem here, ejabberd server just send "hello" to user2, but I want server also send a copy of "hello" for all user 1 in chrome and firefox.
How can I do it?