mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-27 19:22:15 -05:00
null pointer fix
This commit is contained in:
parent
92e0713373
commit
6bb7764d72
@ -133,6 +133,9 @@ public class MessageParser {
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
if (forwarded==null) {
|
||||
return null;
|
||||
}
|
||||
Element message = forwarded.findChild("message");
|
||||
if ((message == null) || (!message.hasChild("body")))
|
||||
return null; // either malformed or boring
|
||||
|
Loading…
Reference in New Issue
Block a user