Remove workaround for getBoolean from JsonRpcLocalCommand

This commit is contained in:
AsamK 2021-09-30 19:33:57 +02:00
parent f44b148946
commit c9f5550d18
17 changed files with 22 additions and 31 deletions

View file

@ -121,7 +121,7 @@ public class UpdateGroupCommand implements JsonRpcLocalCommand {
var groupAdmins = CommandUtil.getSingleRecipientIdentifiers(ns.getList("admin"), localNumber);
var groupRemoveAdmins = CommandUtil.getSingleRecipientIdentifiers(ns.getList("remove-admin"), localNumber);
var groupAvatar = ns.getString("avatar");
var groupResetLink = ns.getBoolean("reset-link");
var groupResetLink = Boolean.TRUE.equals(ns.getBoolean("reset-link"));
var groupLinkState = getGroupLinkState(ns.getString("link"));
var groupExpiration = ns.getInt("expiration");
var groupAddMemberPermission = getGroupPermission(ns.getString("set-permission-add-member"));