This commit is contained in:
shenjack 2024-06-12 01:09:20 +08:00
parent 7fbe91e55e
commit cd67c5b94d
Signed by: shenjack
GPG Key ID: 7B1134A979775551
4 changed files with 6 additions and 5 deletions

2
Cargo.lock generated
View File

@ -659,7 +659,7 @@ dependencies = [
[[package]] [[package]]
name = "ica-rs" name = "ica-rs"
version = "0.6.6" version = "0.6.7"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"base64 0.22.1", "base64 0.22.1",

View File

@ -1,6 +1,6 @@
[package] [package]
name = "ica-rs" name = "ica-rs"
version = "0.6.6" version = "0.6.7"
edition = "2021" edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -122,10 +122,11 @@ pub async fn any_event(event: Event, payload: Payload, _client: Client) {
"setAllChatGroups", "setAllChatGroups",
// 忽略的 // 忽略的
"notify", "notify",
"syncRead", // 同步已读
"closeLoading", // 发送消息/加载新聊天 有一个 loading "closeLoading", // 发送消息/加载新聊天 有一个 loading
"renewMessage", // 我也不确定到底是啥事件 "renewMessage", // 我也不确定到底是啥事件
"requestSetup", // 需要登录
"updateRoom", "updateRoom",
"syncRead", // 同步已读
]; ];
match &event { match &event {
Event::Custom(event_name) => { Event::Custom(event_name) => {

View File

@ -25,8 +25,8 @@ pub type MainStatus = status::BotStatus;
pub type StopGetter = tokio::sync::oneshot::Receiver<()>; pub type StopGetter = tokio::sync::oneshot::Receiver<()>;
pub const VERSION: &str = env!("CARGO_PKG_VERSION"); pub const VERSION: &str = env!("CARGO_PKG_VERSION");
pub const ICA_VERSION: &str = "1.5.0"; pub const ICA_VERSION: &str = "1.6.0";
pub const TAILCHAT_VERSION: &str = "1.0.0"; pub const TAILCHAT_VERSION: &str = "1.1.0";
#[macro_export] #[macro_export]
macro_rules! wrap_callback { macro_rules! wrap_callback {