Compare commits
No commits in common. "9be1f3ec1d49c698222107a27ab877345763fe90" and "d49971995cb916f650dbe7679cbd78c48fb5cd3f" have entirely different histories.
9be1f3ec1d
...
d49971995c
@ -24,7 +24,6 @@ const dialog = {
|
||||
},
|
||||
start: start_msg,
|
||||
leave_application: {
|
||||
literal: "left_application_msg",
|
||||
handler: leave_application
|
||||
},
|
||||
ask_question: {}
|
||||
|
||||
@ -75,11 +75,6 @@ async fn handle_botmessage(bot: Bot, mut db: DB, bm: BotMessage, msg: Message) -
|
||||
None => break 'prop true,
|
||||
};
|
||||
let jsuser = to_js(ctx, &tguser).unwrap();
|
||||
info!(
|
||||
"Calling handler {:?} with msg literal: {:?}",
|
||||
handler,
|
||||
bm.literal()
|
||||
);
|
||||
match handler.call_args(vec![jsuser]) {
|
||||
Ok(v) => {
|
||||
if v.is_bool() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user