pub-sub support in 15.07 with mysql as backend

Hi all,

Please tell me if pub-sub support with mysql as backend is available in 15.07.
If so, please help me understand the right command to create a pub-sub node in sql backend and share changes needed in ejabberd.yml file.

Thanks for your help.

It is

It is supported:

mod_pubsub:
    db_type: odbc
    access_createnode: pubsub_createnode
    ## reduces resource comsumption, but XEP incompliant
    ignore_pep_from_offline: true
    ## XEP compliant, but increases resource comsumption
    ## ignore_pep_from_offline: false
    last_item_cache: false
    plugins:
      - "flat"
      - "hometree"
      - "pep" # pep requires mod_caps

Here db_type: odbc should help you achieve what you intend.

-Prasad

sorry to hijack your thread

sorry to hijack your thread but can you explain why and what mod_pubsub is used for ?

I just disabled it and CPU dropped drastically. I inherited this system and it was enabled for some reason and I am trying to figure out why.

Syndicate content