问题描述
我正在尝试使用以下代码发送 MUC 房间中的状态(在离线几天后进入/加入房间),但是,这不会从服务器返回任何响应。是不是代码有问题?
Presence presence = new Presence(Presence.Type.available);
presence.setTo(App.utility.getJID(App.mContext,App.utility.getFullRoomId(groupName) + "/" + nickIdUser));
presence.addExtension(new MUCInitialPresence("",-1,null));
MyXMPP.connection.sendStanza(presence);
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)