Fix events caused by yourself being shown

This commit is contained in:
Tobias Reisinger 2024-04-15 14:23:09 +02:00
parent ea7815535c
commit 70e0a1d0b4
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
5 changed files with 36 additions and 19 deletions

View file

@ -110,7 +110,7 @@ pub fn get_channel_clients(connection: &mut Telnet, channel: &Channel) -> Result
}
}
fn get_self_clid(connection: &mut Telnet) -> Result<String, String> {
pub fn get_self_clid(connection: &mut Telnet) -> Result<String, String> {
match commands::whoami(connection)? {
Response::Data(params) => {
match parameter::parameter_find(&params, "clid") {