Store the target jid in the AdhocSession objects

This commit is contained in:
Florent Le Coz
2015-09-18 22:09:26 +02:00
parent 88ae2599f6
commit 19666d2ffd
4 changed files with 22 additions and 6 deletions
+4 -2
View File
@@ -3,9 +3,11 @@
#include <assert.h>
AdhocSession::AdhocSession(const AdhocCommand& command, const std::string& jid):
AdhocSession::AdhocSession(const AdhocCommand& command, const std::string& owner_jid,
const std::string& to_jid):
command(command),
owner_jid(jid),
owner_jid(owner_jid),
to_jid(to_jid),
current_step(0),
terminated(false)
{