Commit Graph

6 Commits

Author SHA1 Message Date
Holger Weiss d430788865 mod_mam: Simplify querying the archive
Now that the Mnesia tables are no longer queried in transaction context,
the code can be simplified a bit.  The behavior should remain unchanged.
2015-02-13 00:55:05 +01:00
Holger Weiss c825f6deea mod_mam: Don't use transactions for read access
It shouldn't be necessary to query the archive in transaction context.
In dirty context, the mam_meta data might be outdated when the mam_msg
table is queried, but the effects will be harmless.
2015-02-13 00:13:02 +01:00
Holger Weiss 671655eaee mod_mam: Generate debug info when removing message 2015-02-11 23:34:02 +01:00
Holger Weiss f0b54e1e1a mod_mam: Improve the README file a bit 2015-02-08 01:30:22 +01:00
Holger Weiss de67fa6adc mod_mam: Check fragment sizes when removing user
Check whether the number of Mnesia table fragments can be reduced when a
MAM user was removed.
2015-02-07 22:37:07 +01:00
Holger Weiss d3b4bc817d Initial import of mod_mam
Import an implementation of XEP-0313: Message Archive Management,
version 0.3.
2015-02-06 14:15:30 +01:00