made nimbuzz work around work with newly created conferences as well
This commit is contained in:
parent
616e1e4bb6
commit
3e6629caeb
1 changed files with 2 additions and 1 deletions
|
@ -67,7 +67,8 @@ public class PresenceParser extends AbstractParser implements
|
|||
if (item != null && !from.isBareJid()) {
|
||||
mucOptions.setError(MucOptions.Error.NONE);
|
||||
MucOptions.User user = parseItem(conversation, item, from);
|
||||
if (codes.contains(MucOptions.STATUS_CODE_SELF_PRESENCE) || (codes.isEmpty() && jid.equals(item.getAttributeAsJid("jid")))) {
|
||||
if (codes.contains(MucOptions.STATUS_CODE_SELF_PRESENCE)
|
||||
|| ((codes.isEmpty() || codes.contains(MucOptions.STATUS_CODE_ROOM_CREATED)) && jid.equals(item.getAttributeAsJid("jid")))) {
|
||||
mucOptions.setOnline();
|
||||
mucOptions.setSelf(user);
|
||||
if (mucOptions.onRenameListener != null) {
|
||||
|
|
Loading…
Reference in a new issue