Commit c785a4e105b43b5632c585deafb862009e4d0a7f

Authored by Adhidarma Hadiwinoto
1 parent d45f03c517
Exists in master

trim jid on pingMySelf

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -39,7 +39,7 @@ function pingMySelf() {
39 39 return;
40 40 }
41 41  
42   - sendMessage(config.globals.jid, "PING " + strftime('%F %T', new Date()));
  42 + sendMessage(config.globals.jid.replace(/\/.*/, ''), "PING " + strftime('%F %T', new Date()));
43 43 }
44 44  
45 45 function xmppConnect() {