Mysql 我如何在ejabberd中配置muc。一对一聊天效果很好
我想知道如何在ejabberd中设置muc并将数据存储在mysql中。一对一聊天功能运行良好,并存储在mysql数据库中。是否需要进行任何设置以启用fro muc并将数据存储在mysql中Mysql 我如何在ejabberd中配置muc。一对一聊天效果很好,mysql,ejabberd,Mysql,Ejabberd,我想知道如何在ejabberd中设置muc并将数据存储在mysql中。一对一聊天功能运行良好,并存储在mysql数据库中。是否需要进行任何设置以启用fro muc并将数据存储在mysql中 ## This rule allows access only for local users: local: - allow: local ## Only non-blocked users can use c2s connections: c2s: - deny: bloc
## This rule allows access only for local users:
local:
- allow: local
## Only non-blocked users can use c2s connections:
c2s:
- deny: blocked
- allow
## Only admins can send announcement messages:
announce:
- allow: admin
## Only admins can use the configuration interface:
configure:
- allow: admin
## Only accounts of the local ejabberd server can create rooms:
muc_create:
- allow: all
## Only accounts on the local ejabberd server can create Pubsub nodes:
pubsub_createnode:
- allow: local
## In-band registration allows registration of any possible username.
## To disable in-band registration, replace 'allow' with 'deny'.
register:
- allow: all
## Only allow to register from localhost
trusted_network:
谢谢要将ejabberd配置为支持多用户聊天,您需要启用
mod_muc
模块。ejabberd文档中对此进行了描述:
如您所见,模块支持一个
db_type
参数来指示它使用您配置的后端 粘贴的配置是配置文件中不相关的随机片段,与mod_muc或MySQL数据库配置无关。