mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-30 11:00:38 +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
|
@ -61,7 +61,7 @@ public class QuitGroupCommand implements JsonRpcLocalCommand {
|
|||
} catch (NotAGroupMemberException e) {
|
||||
logger.info("User is not a group member");
|
||||
}
|
||||
if (ns.getBoolean("delete")) {
|
||||
if (Boolean.TRUE.equals(ns.getBoolean("delete"))) {
|
||||
logger.debug("Deleting group {}", groupId);
|
||||
m.deleteGroup(groupId);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue