Don't save if username is null
This commit is contained in:
parent
15568512b1
commit
46befdd638
@ -180,6 +180,9 @@ class Manager implements Signal {
|
||||
}
|
||||
|
||||
private void save() {
|
||||
if (username == null) {
|
||||
return;
|
||||
}
|
||||
ObjectNode rootNode = jsonProcessot.createObjectNode();
|
||||
rootNode.put("username", username)
|
||||
.put("deviceId", deviceId)
|
||||
|
Loading…
x
Reference in New Issue
Block a user