fixed rare npe

iNPUTmice created

Change summary

src/eu/siacs/conversations/parser/MessageParser.java | 3 +++
1 file changed, 3 insertions(+)

Detailed changes

src/eu/siacs/conversations/parser/MessageParser.java 🔗

@@ -174,6 +174,9 @@ public class MessageParser extends AbstractParser implements
 		} else {
 			fullJid = message.getAttribute("to");
 		}
+		if (fullJid==null) {
+			return null;
+		}
 		String[] parts = fullJid.split("/");
 		Conversation conversation = mXmppConnectionService
 				.findOrCreateConversation(account, parts[0], false);