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
+1 -1
View File
@@ -41,7 +41,7 @@ public:
* Takes a copy of the <command/> node so we can actually edit it and use
* it as our return value.
*/
XmlNode handle_request(const std::string& executor_jid, XmlNode command_node);
XmlNode handle_request(const std::string& executor_jid, const std::string& to, XmlNode command_node);
/**
* Remove the session from the list. This is done to avoid filling the
* memory with waiting session (for example due to a client that starts