Not Logged In
|
Login
|
Register
Home
|
News
|
Projects
|
Releases
Bugs
|
RFE
|
Repositories
|
Help
projects
/
xestiaab
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Get etag value after adding a contact using the ConnectionObject interface
[xestiaab/.git]
/
source
/
actmgr
/
frmActivityMgr.cpp
diff --git
a/source/actmgr/frmActivityMgr.cpp
b/source/actmgr/frmActivityMgr.cpp
index
1b63314
..
fef672f
100644
(file)
--- a/
source/actmgr/frmActivityMgr.cpp
+++ b/
source/actmgr/frmActivityMgr.cpp
@@
-644,9
+644,14
@@
void frmActivityMgr::ProcessTasksThread()
// TODO: Get the entity tag for the new contact.
// TODO: Get the entity tag for the new contact.
+ COServerResponse ETagGetResponse = ConnObjectIter->second->GetServerEntityTagValue(StringURLIter->second.ToStdString());
+ if (AddContactResponse.RequestResult != COREQUEST_OK){
+ iter->second = 2;
+ break;
+ }
- ETagDBPtr->AddETag(ContactFilename, ETag
Server, ETagServer
);
+ ETagDBPtr->AddETag(ContactFilename, ETag
GetResponse.EntityTag, ETagGetResponse.EntityTag
);
iter->second = 4;
break;
iter->second = 4;
break;
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy