Improve events

Add known clients (cache) for leaving clients
Add message to returned json object
This commit is contained in:
Tobias Reisinger 2024-04-10 17:36:51 +02:00
parent f860fe3689
commit ae411b6dcc
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
7 changed files with 117 additions and 24 deletions

View file

@ -44,7 +44,7 @@ pub fn parameter_parse(params_str: &str) -> ParameterList {
let mut response_params = ParameterList::new();
parts.iter().for_each(|part| {
let (key, value) = part.split_once('=').unwrap_or((part, "1"));
let (key, value) = part.split_once('=').unwrap_or((part, ""));
response_params.insert(key.to_string(), decode_value(value));
});