How do I handle xmpp room invites that come in the form of messages?

I have room invites that are triggered by an external service and the xmpp strophe client receives that as a message in accordance with the xmpp standard (XEP-0045: Multi-User Chat).

It looks like the code in XmppMessagesStrophe.cpp around line 70 does not add messages to the incoming message queue unless there is body text set for that stanza. Room invites do not have a body, so I cannot handle room invites in the message handler via FXmppModule::Get().GetConnection(ConnectionName)->Messages()->OnReceiveMessage()....;.
Is there another way that room invites can be handled? Could XmppMessagesStrophe.cpp be changed to enqueue messages with empty bodies?

A potential solution: https://github.com/EpicGames/UnrealEngine/pull/7954

Apologies, I wanted this in the UDN, not here. Is there a way to delete?