The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

DJabberd::Delivery::OfflineStorage - Basic OfflineStorage (old style) for DJabberd

DESCRIPTION

So you want offline storage - well add this to djabberd.conf:

   <VHost mydomain.com>

       [...]
       <Plugin DJabberd::Delivery::OfflineStorage::InMemoryOnly>
            Types Message
        </Plugin>
   </VHost>

For InMemoryOnly based storage, and:

   <VHost mydomain.com>

       [...]
       <Plugin DJabberd::Delivery::OfflineStorage::SQLite>
          Database offline.sqlite
          Types Message
       </Plugin>
   </VHost>
For SQLite based storage.

Parameter Database specifies the sqlite database file to use, and Types is a list of Stanza types that will be collected. This should really only be Message - think really hard before you ad IQ to the list.

AUTHOR

Piers Harding, piers@cpan.org.

COPYRIGHT & LICENSE

Original work Copyright 2006 Alexander Karelas, Martin Atkins, Brad Fitzpatrick and Aleksandar Milanov. All rights reserved. Copyright 2007 Piers Harding.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.