processone / ejabberd-contrib

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

mod_webpresence does not support default_ram_db SQL #331

Closed bjacquin closed 7 months ago

bjacquin commented 7 months ago

Hi,

ejabberd 23.10 configured with default_ram_db: sql and sql_type: sqlite does not appear to support mod_webpresence, where all user presence is reported as unavailable while after changing default_ram_db to mnesia, user presence is properly reported.

prefiks commented 7 months ago

Yes, indeed it scans data used by mnesia tables directly. Let me see if we can change it.

prefiks commented 7 months ago

Commit 7e5af663bff2cc38f679fd4671937d76ec7cb43a makes this module work with any session manager backend.