mirror of
https://github.com/aljazceru/signal-cli.git
synced 2025-12-18 22:54:20 +01:00
Remove unnecessary isRegistered checks
This commit is contained in:
@@ -27,11 +27,6 @@ public class UpdateGroupCommand implements DbusCommand {
|
||||
|
||||
@Override
|
||||
public int handleCommand(final Namespace ns, final Signal signal) {
|
||||
if (!signal.isRegistered()) {
|
||||
System.err.println("User is not registered.");
|
||||
return 1;
|
||||
}
|
||||
|
||||
byte[] groupId = null;
|
||||
if (ns.getString("group") != null) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user