Set details for block input back notification

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou 2023-09-17 11:07:06 +08:00
parent db2e4f30a7
commit df19ccf998

View File

@ -1216,7 +1216,10 @@ impl Connection {
details: String,
) {
let mut misc = Misc::new();
let mut back_notification = BackNotification::new();
let mut back_notification = BackNotification {
details,
..Default::default()
};
back_notification.set_block_input_state(state);
misc.set_back_notification(back_notification);
let mut msg_out = Message::new();