Register the vhost with the module.
Store $content for $element and $user in the storage module.
Return the $element for $user from the storage module.

DJabberd::Plugin::PrivateStorage - implement private storage, as described in XEP-0049

This is the base class implementing the logic of XEP-0049, Private storage, for DJabberd. Derived only need to implement a storage backend.

This module is Copyright (c) 2006 Michael Scherer All rights reserved.
You may distribute under the terms of either the GNU General Public License or the Artistic License, as specified in the Perl README file.

This is free software. IT COMES WITHOUT WARRANTY OF ANY KIND.

Michael Scherer <misc@zarb.org>