Check inactive flag of attachMenuBot.
This commit is contained in:
parent
759d02770d
commit
ccbedd39bf
@ -286,6 +286,11 @@ void AttachMenuManager::on_reload_attach_menu_bots(
|
|||||||
new_hash = 0;
|
new_hash = 0;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
if (bot->inactive_) {
|
||||||
|
LOG(ERROR) << "Receive inactive attach menu bot " << user_id;
|
||||||
|
new_hash = 0;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
AttachMenuBot attach_menu_bot;
|
AttachMenuBot attach_menu_bot;
|
||||||
attach_menu_bot.user_id_ = user_id;
|
attach_menu_bot.user_id_ = user_id;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user