When a user connects, the PEP last-items are sent without Caps filtered-notifications.
Is to possible that this change breaks the last-item sent between domains? I've noticed that it doesn't work between users on different servers, but flawless when both account are on the same server and domain. Reverting EJAB-1456 on v2.1.10 'fixes' this behaviour.
I've just written a patch what works for me.
Proposed patch to fix this problem.
Applying pull request #345 should fix this (and other PEP issues).
Thanks! i will review your patch in coming weeks