안녕하세요, 내 채팅 응용 프로그램에 대해 ejabberd 버전 16.04를 사용하고 있습니다. muc 룸을 만들고 방 초대장을 보내려는 mod_rest를 사용하고 있습니다. 이제는 특정 mod_muc에 대한 set_room_affiliation을 사용하지만 그 중 하나는 나를 도와 주실 수 있습니다. .. !!!ejabberd에서 mod_muc에 set_room_affiliation을 사용하는 방법은 무엇입니까?
다음은 인수가
{"key": "secret","command": "create_room","args": ["kandan_team","conference","kandan.com"]}
팀이 만들어있어 팀을 만들기 각각의 ejabberd에 대한
명령을 전달하고있다. 지나갔습니다 ... !!! 사용자 1
{"key": "secret","command": "send_direct_invitation","args": ["kandan_team","conference","none", "team_inviataion", "[email protected]"]}
객실 초대를 보내는
는 Inviatation가 성공적으로 전송 ..! 통과 .. !!! 사용자 2
{"key": "secret","command": "send_direct_invitation","args": ["kandan_team","conference","none", "team_inviataion", "[email protected]"]}
객실 초대를 보내는
는 Inviatation가 성공적으로 전송 ..! 통과 .. !!! USER1를 제거 할 수 없습니다 팀
{"key":"secret","command":"set_room_affiliation","args":["kandan_team", "conference", "[email protected]", "outcast"]}
에서 사용자 1을 제거하고 오류로 말을 들어
..! 실패한..!!!
Ejabberd.yml 파일 구성 mod_rest
mod_restful:
api:
- path: ["admin"]
module: mod_restful_admin
params:
key: "secret"
allowed_commands: [register, unregister,status, add_rosteritem, create_room, send_direct_invitation, set_room_affiliation]
- path: ["register"]
module: mod_restful_register
params:
key: "secret"
에 대한 그래서 누군가가 제발 ... set_room_affiliation하는 방법 나를 도울 수 있습니다!