diff --git a/src/xmpp/adhoc_session.hpp b/src/xmpp/adhoc_session.hpp index 0de8d13..f295253 100644 --- a/src/xmpp/adhoc_session.hpp +++ b/src/xmpp/adhoc_session.hpp @@ -66,11 +66,11 @@ private: * the first step of a command. Only that JID must be allowed to access * this session. */ - const std::string& owner_jid; + const std::string owner_jid; /** * The 'to' attribute in the request stanza. This is the target of the current session. */ - const std::string& to_jid; + const std::string to_jid; /** * The current step we are at. It starts at zero. It is used to index the * associated AdhocCommand::callbacks vector.