fixed bug in message parser
This commit is contained in:
		
							parent
							
								
									af85964820
								
							
						
					
					
						commit
						4c90bd9b46
					
				| 
						 | 
					@ -174,12 +174,16 @@ public class MessageParser extends AbstractParser implements
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		if (status == Message.STATUS_RECIEVED) {
 | 
							if (status == Message.STATUS_RECIEVED) {
 | 
				
			||||||
			fullJid = message.getAttribute("from");
 | 
								fullJid = message.getAttribute("from");
 | 
				
			||||||
			updateLastseen(message, account, true);
 | 
								if (fullJid == null ) {
 | 
				
			||||||
 | 
									return null;
 | 
				
			||||||
 | 
								} else {
 | 
				
			||||||
 | 
									updateLastseen(message, account, true);
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
		} else {
 | 
							} else {
 | 
				
			||||||
			fullJid = message.getAttribute("to");
 | 
								fullJid = message.getAttribute("to");
 | 
				
			||||||
		}
 | 
								if (fullJid == null) {
 | 
				
			||||||
		if (fullJid==null) {
 | 
									return null;
 | 
				
			||||||
			return null;
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		String[] parts = fullJid.split("/");
 | 
							String[] parts = fullJid.split("/");
 | 
				
			||||||
		Conversation conversation = mXmppConnectionService
 | 
							Conversation conversation = mXmppConnectionService
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue