Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Datovka projects
mobile Datovka
Commits
27fb11ac
Commit
27fb11ac
authored
Oct 23, 2017
by
Martin Straka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed missing some message envelope data
parent
9450dee9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
1 deletion
+17
-1
src/net/xml_layer.cpp
src/net/xml_layer.cpp
+17
-1
No files found.
src/net/xml_layer.cpp
View file @
27fb11ac
...
...
@@ -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
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment