diff --git a/Cargo.toml b/Cargo.toml index 5bfb1d8..b2d437b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,8 +29,8 @@ tokio = { version = "1", features = ["macros", "rt-multi-thread"] } tokio-cron-scheduler = { version = "*" } uuid = { version = "0", features = ["serde", "v4", "v5"] } -beteran-protobuf-rust = { git = "https://gitlab.loafle.net/bet/beteran-protobuf-rust.git", tag = "v0.1.64-snapshot" } -beteran-common-rust = { git = "https://gitlab.loafle.net/bet/beteran-common-rust.git", tag = "v0.1.48-snapshot" } +beteran-protobuf-rust = { git = "https://gitlab.loafle.net/bet/beteran-protobuf-rust.git", tag = "v0.1.65-snapshot" } +beteran-common-rust = { git = "https://gitlab.loafle.net/bet/beteran-common-rust.git", tag = "v0.1.49-snapshot" } [build-dependencies] diff --git a/src/events/member/event.rs b/src/events/member/event.rs index 1816739..4088684 100644 --- a/src/events/member/event.rs +++ b/src/events/member/event.rs @@ -144,7 +144,7 @@ impl EventHandler { username: member.username.clone(), nickname: member.nickname.clone(), site_username: member.username.clone(), - group_key: match member.referrer_member { + group_key: match member.parent_member { Some(m) => Some(m.username), None => None, },