]> nmode's Git Repositories - signal-cli/commit
Improve exit code for message sending
authorAsamK <asamk@gmx.de>
Wed, 22 Dec 2021 11:47:42 +0000 (12:47 +0100)
committerAsamK <asamk@gmx.de>
Wed, 22 Dec 2021 11:47:42 +0000 (12:47 +0100)
commit9a72733c4f24df7207ec5b0b2dd6d7b8404bc400
tree3ca1bc20ad8f04e3e34e32712404965163abc5ee
parent4aa8e3f2f2d10040de2ff57f39a70a0149ce5811
Improve exit code for message sending

Exit with 0 status code if the message was sent successfully to at least
one recipient, otherwise exit with status code 2 or 4 (for untrusted).

Fixes #828
graalvm-config-dir/reflect-config.json
lib/src/main/java/org/asamk/signal/manager/api/SendMessageResults.java
src/main/java/org/asamk/signal/dbus/DbusSignalImpl.java
src/main/java/org/asamk/signal/util/SendMessageResultUtils.java