summaryrefslogtreecommitdiffstats
path: root/remoting/webapp/log_to_server.js
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/webapp/log_to_server.js')
-rw-r--r--remoting/webapp/log_to_server.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/remoting/webapp/log_to_server.js b/remoting/webapp/log_to_server.js
index ff104d3..85e2c90 100644
--- a/remoting/webapp/log_to_server.js
+++ b/remoting/webapp/log_to_server.js
@@ -167,7 +167,8 @@ remoting.LogToServer.prototype.log = function(entry) {
console.log('Sending ' + this.pendingEntries.length + ' log ' +
((this.pendingEntries.length == 1) ? 'entry' : 'entries') +
' to the server.');
- var stanza = '<cli:iq to="remoting@bot.talk.google.com" type="set" ' +
+ var stanza = '<cli:iq to="' +
+ remoting.settings.DIRECTORY_BOT_JID + '" type="set" ' +
'xmlns:cli="jabber:client"><gr:log xmlns:gr="google:remoting">';
while (this.pendingEntries.length > 0) {
stanza += /** @type string */ this.pendingEntries.shift();