strophe/libstrophe — pull request #16 by h0ru5 (2014-01-06 21:50:38+00:00)
Title: patch for bot example to avoid crash when messages without type are sent

Clients like psi or other libs send non-chat messages without a "type" attribute.
This currently crashes the bot.