Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Datovka projects
mobile Datovka
Commits
31bbb5c1
Commit
31bbb5c1
authored
Sep 25, 2018
by
Martin Straka
Browse files
Added message status and attachment size into GOV message
parent
ea349943
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/datovka_shared/gov_services/service/gov_service.cpp
View file @
31bbb5c1
...
...
@@ -125,6 +125,9 @@ Isds::Message Gov::Service::dataMessage(void) const
envelope
.
setDmPublishOwnID
(
Isds
::
Type
::
BOOL_FALSE
);
envelope
.
setDmAllowSubstDelivery
(
Isds
::
Type
::
BOOL_FALSE
);
envelope
.
setDmPersonalDelivery
(
Isds
::
Type
::
BOOL_FALSE
);
envelope
.
setDmMessageStatus
(
Isds
::
Type
::
MS_POSTED
);
/* Attachment size of GOV xml is < 1KB */
envelope
.
setDmAttachmentSize
(
1
);
message
.
setEnvelope
(
envelope
);
}
...
...
Write
Preview
Supports
Markdown
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