feat: Add support for version 2.7.5x

This commit is contained in:
amizing25
2024-12-03 19:33:38 +07:00
parent d14f4a9d49
commit 274a03de54
12 changed files with 110608 additions and 8392 deletions
-19
View File
@@ -1,5 +1,3 @@
use std::sync::atomic::Ordering;
use crate::{
net::{
tools::{FreesrData, MultiPathAvatar},
@@ -158,23 +156,6 @@ pub async fn on_send_msg_cs_req(
.await
.unwrap();
}
"dvd" => {
session.toggle_dvd().await;
session
.send(RevcMsgScNotify {
msg_type: body.msg_type,
text: format!(
"DVD toggled to {}",
session.dvd_running.load(Ordering::SeqCst)
),
emote: body.emote,
from_uid: SERVER_UID,
to_uid: 25,
chat_type: body.chat_type,
})
.await
.unwrap();
}
_ => {}
}
}