require helper
- use helper to extract X from stanza
- differentiate between muc or chat presence
- fix cracks
logging error
catch: Cannot read property 'writable' of undefined