Current OfflineMessageStore logic discards valid MUC invites
OfflineMessageStore currently discards any messages with an empty body.
An exception is made for PubSub events (See ) as (I assume) these don't need a body to be useful to the recipient.
Another example of a valid message which doesn't have a body is a MUC invite.
reason='Hey Hecate, this is the place for all good witches!'/>
These messages are currently discarded when the user is offline - instead, they should be stored according to the current offline message storage strategy
Ashley Ward's patch looks very good! The attached diff unfortunately only deals with MUC invites, but does not consider XEP-160.
I believe this issue has the same cause as in
I've elevated your Jira privs, so you can triage tickets, etc. Once Guus reviews a few of your patches, we'll get you onboard.
That would be great