cvmts: fix rename oddities

This commit is contained in:
Elijah R committed 2025-03-21 21:28:13 -04:00
1 parent 10dd3c2489
commit 5705971be6
2 files changed
+7 -7

No files matched your search

+2 -2
View File
@@ -292,11 +292,11 @@ export class GuacamoleProtocol extends ProtocolBase implements IProtocol {
}
sendSelfRename(status: ProtocolRenameStatus, newUsername: string, rank: Rank): void {
this.user?.sendMsg(cvm.guacEncode('rename', '0', status.toString(), newUsername, rank.toString()));
this.user?.sendMsg(cvm.guacEncode('rename', '0', status.toString(), newUsername));
}
sendRename(oldUsername: string, newUsername: string, rank: Rank): void {
this.user?.sendMsg(cvm.guacEncode('rename', '1', oldUsername, newUsername, rank.toString()));
this.user?.sendMsg(cvm.guacEncode('rename', '1', oldUsername, newUsername));
}
sendListResponse(list: ListEntry[]): void {