One should be able to specify the number/size of offline messages a user
may store until new/old ones are dropped.
I suggest the option is per host (unless specified in the global section).
As a bonus it could accept a list of JIDs to increase/decrease the amount
for specific users. The value "0" for a given JID could grant him unlimited
I plan to solve this by introducing a new plugin, mod_limits.
- Limit number/size of offline messages
- Limit roster size
- Limit/restrict PEP node creation
- Private XML
The list is endless. Which raises the question of whether it should actually be just
one plugin. I don't like having the same logic spread around throughout the other
modules, but I also don't like monolithic modules either.