parent
55aa750dcc
commit
ce394102c2
@ -1618,7 +1618,7 @@ angular.module('izhukov.utils', [])
|
|||||||
var command = entityText.substr(1);
|
var command = entityText.substr(1);
|
||||||
var bot, atPos;
|
var bot, atPos;
|
||||||
if ((atPos = command.indexOf('@')) != -1) {
|
if ((atPos = command.indexOf('@')) != -1) {
|
||||||
bot = command.substr(atPos);
|
bot = command.substr(atPos + 1);
|
||||||
command = command.substr(0, atPos);
|
command = command.substr(0, atPos);
|
||||||
} else {
|
} else {
|
||||||
bot = options.fromBot;
|
bot = options.fromBot;
|
||||||
|
Loading…
Reference in New Issue
Block a user