// Persistent roster packet.
contactManager.parseContactListPacket(rawPacket);
}
else if (rawPacket.containsKey("error")) {
// Error message
ErrorMessage message = new ErrorMessage();
message.setErrorMessage((String) rawPacket.get("errmsg"));
message.setIsFatal(rawPacket.containsKey("fatal"));
invokeMessageListener(message);
}
else {
Log.debug("Unsupported packet type: " + rawPacket);
}