mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 15:37:23 +01:00
add trimming to uid and gids
This commit is contained in:
parent
20ade6e127
commit
7535f04082
2 changed files with 2 additions and 2 deletions
|
|
@ -24,7 +24,7 @@ public partial class ApiController
|
|||
public async Task SendPairedClientAddition(string uid)
|
||||
{
|
||||
if (!IsConnected || string.Equals(SecretKey, "-", System.StringComparison.Ordinal)) return;
|
||||
await _mareHub!.SendAsync(Api.SendUserPairedClientAddition, uid).ConfigureAwait(false);
|
||||
await _mareHub!.SendAsync(Api.SendUserPairedClientAddition, uid.Trim()).ConfigureAwait(false);
|
||||
}
|
||||
|
||||
public async Task SendPairedClientPauseChange(string uid, bool paused)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue