mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Remove workaround for getBoolean from JsonRpcLocalCommand
This commit is contained in:
parent
f44b148946
commit
c9f5550d18
17 changed files with 22 additions and 31 deletions
|
@ -42,7 +42,7 @@ public class UpdateProfileCommand implements JsonRpcLocalCommand {
|
|||
var about = ns.getString("about");
|
||||
var aboutEmoji = ns.getString("about-emoji");
|
||||
var avatarPath = ns.getString("avatar");
|
||||
boolean removeAvatar = ns.getBoolean("remove-avatar");
|
||||
boolean removeAvatar = Boolean.TRUE.equals(ns.getBoolean("remove-avatar"));
|
||||
|
||||
Optional<File> avatarFile = removeAvatar
|
||||
? Optional.absent()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue