made nimbuzz work around work with newly created conferences as well
This commit is contained in:
		
							parent
							
								
									067daa81f4
								
							
						
					
					
						commit
						ae85a9e87b
					
				| @ -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 New Issue
	
	Block a user
	 Daniel Gultsch
						Daniel Gultsch