mirror of
https://github.com/AsamK/signal-cli
synced 2025-09-02 04:20:38 +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;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ns.getBoolean("endsession") && ns.getList("recipient") != null && ns.getList("recipient").size() > 0) {
|
if (ns.getBoolean("endsession")) {
|
||||||
try {
|
try {
|
||||||
signal.sendEndSessionMessage(ns.<String>getList("recipient"));
|
signal.sendEndSessionMessage(ns.<String>getList("recipient"));
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue