Skip to content
Snippets Groups Projects
Unverified Commit 9d1aa894 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

sync_module: send initialized buffer

Change-Id: I8bdd1edef75f728464728644c159777e77d7f7d8
parent f6a7ab13
No related branches found
No related tags found
No related merge requests found
......@@ -66,6 +66,7 @@ SyncModule::Impl::syncInfos(const std::shared_ptr<ChannelSocket>& socket)
if (info->contacts) {
SyncMsg msg;
msg.ds = info->contacts->getSyncData();
msgpack::pack(buffer, msg);
socket->write(reinterpret_cast<const unsigned char*>(buffer.data()), buffer.size(), ec);
if (ec) {
JAMI_ERR("%s", ec.message().c_str());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment