From d0aa3d72d54156fd06a76347885f0da20b519273 Mon Sep 17 00:00:00 2001 From: Rafael Bradley Date: Sat, 23 Aug 2025 00:09:48 -0300 Subject: [PATCH] Fix incorrect "created by ID" value in incidents --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/groups/calls/events.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f941a1e..acfc5fe 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1437,7 +1437,7 @@ checksum = "df94ce210e5bc13cb6651479fa48d14f601d9858cfe0467f43ae157023b938d3" [[package]] name = "payphone" -version = "4.2.3" +version = "4.2.5" dependencies = [ "async-trait", "axum", diff --git a/Cargo.toml b/Cargo.toml index 1fcf241..34b6253 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "payphone" -version = "4.2.3" +version = "4.2.5" edition = "2024" default-run = "payphone" diff --git a/src/groups/calls/events.rs b/src/groups/calls/events.rs index 7086937..a86863c 100644 --- a/src/groups/calls/events.rs +++ b/src/groups/calls/events.rs @@ -46,7 +46,7 @@ async fn penalize_user( .incident( reason.clone(), Some(message.data.clone()), - Some(user.id), + None, &rt.state.db, ) .await?;