我正在使用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,你能告诉我如何更新组配置吗? –