mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-12-27 14:47:59 +01:00
Fixed freezing when parsing error. SMACK-166
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5061 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
157a1e9659
commit
c13766569e
1 changed files with 1 additions and 3 deletions
|
@ -314,9 +314,7 @@ public class PacketParserUtils {
|
|||
int eventType = parser.next();
|
||||
if (eventType == XmlPullParser.START_TAG) {
|
||||
if (parser.getName().equals("text")) {
|
||||
parser.next();
|
||||
message = parser.getText();
|
||||
parser.next();
|
||||
message = parser.nextText();
|
||||
}
|
||||
else {
|
||||
// Condition tag, it can be xmpp error or an application defined error.
|
||||
|
|
Loading…
Reference in a new issue