Holger Weiss
8e43a20f12
mod_mam_mnesia: Never store error messages
...
Don't store messages of type "error", even if it has a <store/> hint.
2015-09-02 20:45:40 +02:00
Holger Weiss
91e4c56e67
mod_mam_mnesia: Check for <store/> hint
...
Respect the <store/> and <pretty-please-store/> hints. Both tell the
server to store a message even if it would otherwise not be stored
(e.g., because it doesn't have a body). These hints are not (yet) part
of XEP-0334, though.
2015-09-01 01:21:43 +02:00
Holger Weiss
d7fd0f5d68
mod_mam_mnesia: Ignore whitespace within <value/>
...
Ignore the whitespace when a form field value is specified like this,
for example:
<value>
juliet@example.com
</value>
2015-08-19 21:46:13 +02:00
Holger Weiss
f2652f613f
mod_mam_mnesia: Also strip CDATA from <x/> element
2015-08-19 21:46:11 +02:00
Holger Weiss
3e683a7621
mod_mam_mnesia: Strip CDATA from form fields
...
Don't let mod_mam_mnesia stumble over additional whitespace when parsing
form fields.
2015-08-15 17:58:45 +02:00
Holger Weiss
92a44dfcda
mod_mam_mnesia: Accept <encrypted/> messages
...
The <axolotl_message/> element has been renamed to <encrypted/>.
2015-08-07 15:39:59 +02:00
Holger Weiss
4feba7a5e6
mod_mam_mnesia: Also check for <no-store/> hint
...
Check for the <no-store/> and <no-permanent-store/> hints in addition to
<no-storage/> and <no-permanent-storage/>. XEP-0334 (version 0.1)
mentions both variants, and unfortunately, both of them are in use.
2015-07-21 16:18:01 +02:00
Holger Weiss
7697756fb4
mod_mam_mnesia: Fix Axolotl message detection
...
The <axolotl_message/> element usually doesn't have CDATA content.
2015-07-20 21:58:24 +02:00
Holger Weiss
7e2eb9a578
mod_mam_mnesia: Also store Axolotl messages
2015-07-20 12:53:14 +02:00
Holger Weiss
9c17da232f
Update mod_mam_mnesia to work with ejabberd 15.06
2015-06-26 00:04:26 +02:00
Holger Weiss
e5d24089d2
Rename mod_mam to mod_mam_mnesia
...
Rename mod_mam so that users can continue to run it until we provide an
upgrade path to the mod_mam version shipped with ejabberd 15.06.
2015-06-26 00:02:57 +02:00