Unicorn, if you haven't seen this yet, it might help clear some things up: https://docs.modernxmpp.org/client/protocol/
MattJ: Thanks, I have, but I was asking to clarify since the part about the issues around mam+carbons is a bit vague