Commit 7919ccee authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner

[1924] Send the want_answer header from C++

parent e220a4ed
......@@ -473,7 +473,7 @@ Session::unsubscribe(std::string group, std::string instance) {
int
Session::group_sendmsg(ConstElementPtr msg, std::string group,
std::string instance, std::string to, bool)
std::string instance, std::string to, bool want_answer)
{
LOG_DEBUG(logger, DBG_TRACE_DETAILED, CC_GROUP_SEND).arg(msg->str()).
arg(group);
......@@ -486,6 +486,7 @@ Session::group_sendmsg(ConstElementPtr msg, std::string group,
env->set("group", Element::create(group));
env->set("instance", Element::create(instance));
env->set("seq", Element::create(nseq));
env->set("want_answer", Element::create(want_answer));
sendmsg(env, msg);
return (nseq);
......
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