fix build for no XMPP
Merge pull request #3409 from AndrewMeadows/inertia

fix build for no XMPP