Fix, privacy on, missing failed details

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou 2023-09-18 22:12:11 +08:00
parent 201c7a7e49
commit 2b72622fe8

View File

@ -2263,8 +2263,9 @@ impl Connection {
if video_service::get_privacy_mode_conn_id() == 0 {
let _ = privacy_mode::turn_off_privacy(0);
}
crate::common::make_privacy_mode_msg(
crate::common::make_privacy_mode_msg_with_details(
back_notification::PrivacyModeState::PrvOnFailed,
e.to_string(),
)
}
}