mirror of
https://github.com/AsamK/signal-cli
synced 2025-09-01 20:10:39 +00:00
No need for this check since we're handling that condition above
This commit is contained in:
parent
57c35cb8cc
commit
e704c6a412
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ public class SendCommand implements DbusCommand {
|
|||
return 1;
|
||||
}
|
||||
|
||||
if (ns.getBoolean("endsession") && ns.getList("recipient") != null && ns.getList("recipient").size() > 0) {
|
||||
if (ns.getBoolean("endsession")) {
|
||||
try {
|
||||
signal.sendEndSessionMessage(ns.<String>getList("recipient"));
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue