processone / ejabberd-contrib

Growing and curated ejabberd contributions repository - PR or ask to join !
http://ejabberd.im
250 stars 140 forks source link

Mod_archive ejabberd 17 #204

Closed PH-F closed 7 years ago

PH-F commented 7 years ago

I installed ejabberd 17 (with a deb package)

But the archive stays empty. In the the ejabberd.yml i added: mod_archive: {} and in the dashboard: mod_archive []

I also tried with mod_archive: save_default: true

mod_archive [{save_default, true}]

But the archive stays empty. How can I enable it?

_The error.log shows: 2017-03-14 10:31:51.377 [error] <0.39.0>@gen_mod:stop_module_keep_config:213 {noproc,{gen_server,call,['ejabberd_modarchive----my-vhost---',stop]}}_

Besides 1on1 chats archiving is there also an option to archive a groups chat?

weiss commented 7 years ago

The README file says:

Those modules do NOT work with ejabberd 13 or newer.

You might want to look into mod_mam (which implements XEP-0313) instead.

Besides 1on1 chats archiving is there also an option to archive a groups chat?'

mod_mam supports group chat.

PH-F commented 7 years ago

Thank you this works!

But was a bit confused, because ./ejabberdctl modules_available shows mod_archive As it is not possible to use this module, it makes no sense that this module is available right?

zinid commented 7 years ago

The command only lists all available modules in ejabberd-contrib repo, it doesn't check compatibility as it's hard to do programmatically.