MAM messages not decrypted with PGP
Bug description
MAM messages are not decrypted if they are PGP encrypted, the contents of the <body> tag are just displayed as-is, which as you can imagine is not very useful.
For comparison, Conversations on Android grabs the PGP encrypted messages from gajim from MAM and decrypts and displays them all.
Steps to reproduce
Enable MAM support and connect to a MAM-enabled server (prosody 0.10 with mod_mam in my case)
Software versions
OS version: Ubuntu 14.04
If someone can point me to the approximate location in the code MAM-things happen I can try and take a shot at fixing this, I'm assuming the whole detect-if-pgp-encrypted-and-decrypt code isn't being ran at all on these?