Commit 27fb11ac authored by Martin Straka's avatar Martin Straka

Fixed missing some message envelope data

parent 9450dee9
......@@ -1419,7 +1419,23 @@ MsgEnvelope XmlLayer::msgEnvelopeParse(QXmlStreamReader &xml,
if (xml.text().toString() == "true") {
msg.setDmAllowSubstDelivery(true);
}
}
} else
if (xml.name() == "dmMessageStatus") {
xml.readNext();
msg.setDmMessageStatus(xml.text().toInt());
} else
if (xml.name() == "dmAttachmentSize") {
xml.readNext();
msg.setDmAttachmentSize(xml.text().toInt());
} else
if (xml.name() == "dmDeliveryTime") {
xml.readNext();
msg.setDmDeliveryTime(xml.text().toString());
} else
if (xml.name() == "dmAcceptanceTime") {
xml.readNext();
msg.setDmAcceptanceTime(xml.text().toString());
}
}
xml.readNext();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment