Fix plain text output for getUserStatus command

Fixes #711
This commit is contained in:
AsamK 2021-09-10 17:23:46 +02:00
parent 50e5acdf52
commit 6ac4af4974

View file

@ -61,7 +61,8 @@ public class GetUserStatusCommand implements JsonRpcLocalCommand {
final var writer = (PlainTextWriter) outputWriter; final var writer = (PlainTextWriter) outputWriter;
for (var entry : registered.entrySet()) { for (var entry : registered.entrySet()) {
writer.println("{}: {}", entry.getKey(), entry.getValue()); final var uuid = entry.getValue().second();
writer.println("{}: {}", entry.getKey(), uuid != null);
} }
} }
} }