Browse Source

Fixed bot command with (at)

Closes #940
master
Igor Zhukov 9 years ago
parent
commit
ce394102c2
  1. 2
      app/js/lib/ng_utils.js

2
app/js/lib/ng_utils.js

@ -1618,7 +1618,7 @@ angular.module('izhukov.utils', []) @@ -1618,7 +1618,7 @@ angular.module('izhukov.utils', [])
var command = entityText.substr(1);
var bot, atPos;
if ((atPos = command.indexOf('@')) != -1) {
bot = command.substr(atPos);
bot = command.substr(atPos + 1);
command = command.substr(0, atPos);
} else {
bot = options.fromBot;

Loading…
Cancel
Save