I am trying to develop a messaging application using XMPP. I am trying to implement chat sync on multiple devices per user. But I am able to get the messages only on the logged devices or the first offline device which logs in. Different devices use different resource so that full jabber id is different.
A logs in on one device.
A sends some messages to B
B logs in on his first device and it receives a message from A.
B logs in on his other device, but does not get the message from A. (This is device will not be in proper sync)
I already have message carbons and archiving enabled.
Is there a way I can get these messages on the other device of B?