summaryrefslogtreecommitdiff
path: root/louloulibs/xmpp/adhoc_session.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'louloulibs/xmpp/adhoc_session.cpp')
-rw-r--r--louloulibs/xmpp/adhoc_session.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/louloulibs/xmpp/adhoc_session.cpp b/louloulibs/xmpp/adhoc_session.cpp
index fc60bb7..bf8d292 100644
--- a/louloulibs/xmpp/adhoc_session.cpp
+++ b/louloulibs/xmpp/adhoc_session.cpp
@@ -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)
{