diff options
Diffstat (limited to 'remoting')
-rw-r--r-- | remoting/client/plugin/chromoting_scriptable_object.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/client/plugin/chromoting_scriptable_object.cc b/remoting/client/plugin/chromoting_scriptable_object.cc index f452690..c456a94 100644 --- a/remoting/client/plugin/chromoting_scriptable_object.cc +++ b/remoting/client/plugin/chromoting_scriptable_object.cc @@ -282,7 +282,7 @@ Var ChromotingScriptableObject::DoConnect(const std::vector<Var>& args, *exception = Var("The username must be a string."); return Var(); } - config.username = args[0].DebugString(); + config.username = args[0].AsString(); if (!args[1].is_string()) { *exception = Var("The host_jid must be a string."); |