-2
ejabberd에서 muc를 설정하고 mysql.One에 데이터를 저장하는 방법을 알고 싶습니다. 완벽한 채팅과 mysql 데이터베이스에 저장합니다. 설정이 있습니다. 우리는 muc를 활성화하고 MYSQL에 데이터를 저장해야합니다. 어떻게 ejabberd.One에서 muc를 구성 할 수 있습니까? 하나의 채팅은 완벽하게 작동합니다.
## 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:
당신이
붙여 넣기 한 설정은 설정 파일과 무관 한 무작위 스 니펫이며 mod_muc 또는 MySQL 데이터베이스 구성과는 아무런 관련이 없습니다. –