Changes to comply with more xmpp server implementations:
- Jabber presence set to 'available' or messages sent to rooms are ignored
- my_id attribute set to jid or nick will be randomly generated
Fix rubocop offense
Merge pull request #348 from mrichar1/master

Changes to comply with more xmpp server implementations: