xmpp - How to change ejabberd MUC subject -
i've tried change muc subject using ejabberd api didn't work. use postman work api
api : /api/change_room_option
request body :
{ "name": "testgroup", "service": "conference.localhost", "option": "subject", "value": "booknerds" }
error : "400 bad request"
i've enabled change_room_option in ejabberd.yaml , set allow_change_subj true. using configuration , same request body format, change 'title' , 'description'.
note : ran test using adium , change subject. when check in database, subject , subject_author have been updated. need set subject_author in request body? if yes - don't think it's possible since change_room_option accept 4 parameters stated here
Comments
Post a Comment