ExecBodyParams curr_act
This commit is contained in:
parent
fa5de03bae
commit
e711c6454d
4 changed files with 112 additions and 47 deletions
src/core
|
@ -406,7 +406,7 @@ impl BotInstance {
|
|||
bot : Arc::clone(&bot),
|
||||
msg : (*msg).clone(),
|
||||
parent_act : None,
|
||||
curr_act : Arc::clone(&act_clone),
|
||||
curr_act : Some(Arc::clone(&act_clone)),
|
||||
};
|
||||
|
||||
// When sending a BotMsgTypeNotif, send_botmsg does Roles related validation as required
|
||||
|
@ -464,7 +464,7 @@ impl BotInstance {
|
|||
bot : Arc::clone(&bot),
|
||||
msg : (*msg).clone(),
|
||||
parent_act : None,
|
||||
curr_act : Arc::clone(&act_clone),
|
||||
curr_act : Some(Arc::clone(&act_clone)),
|
||||
|
||||
};
|
||||
|
||||
|
@ -495,7 +495,7 @@ impl BotInstance {
|
|||
bot : Arc::clone(&bot),
|
||||
msg : (*msg).clone(),
|
||||
parent_act : None,
|
||||
curr_act : Arc::clone(&act_clone),
|
||||
curr_act : Some(Arc::clone(&act_clone)),
|
||||
|
||||
};
|
||||
|
||||
|
@ -521,7 +521,7 @@ impl BotInstance {
|
|||
bot : a,
|
||||
msg : msg.clone() ,
|
||||
parent_act : None,
|
||||
curr_act : Arc::clone(&act_clone),
|
||||
curr_act : Some(Arc::clone(&act_clone)),
|
||||
}).await;
|
||||
|
||||
botlog::trace(
|
||||
|
@ -570,7 +570,7 @@ impl BotInstance {
|
|||
bot : a,
|
||||
msg : msg.clone() ,
|
||||
parent_act : None,
|
||||
curr_act : Arc::clone(&act_clone),
|
||||
curr_act : Some(Arc::clone(&act_clone)),
|
||||
} ).await;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue