我正在使用Xabber開源項目並且能夠創建一個新組,但它總是說:這個房間被鎖定,直到配置被確認。我試圖設置一個默認配置,但它引發了我的異常:401未經授權。到底什麼是問題。Android xmpp MUC設置默認配置
final MultiUserChat multiUserChat;
try {
multiUserChat = new MultiUserChat(xmppConnection, room);
// CHANAKYA: set default config for the MUC
// Send an empty room configuration form which indicates that we want
// an instant room
try {
multiUserChat.sendConfigurationForm(new Form(Form.TYPE_SUBMIT));
} catch (XMPPException e) {
e.printStackTrace();
}
嗨@u_pendra,你能告訴我如何更新組配置嗎? –