mirror of
https://github.com/aljazceru/signal-cli.git
synced 2026-01-22 07:04:26 +01:00
Make send behavior more deterministic if there are unregistered recipients
Fixes #803
This commit is contained in:
@@ -83,7 +83,9 @@ public class SendCommand implements JsonRpcLocalCommand {
|
||||
}
|
||||
|
||||
try {
|
||||
m.sendEndSessionMessage(singleRecipients);
|
||||
final var results = m.sendEndSessionMessage(singleRecipients);
|
||||
outputResult(outputWriter, results.timestamp());
|
||||
ErrorUtils.handleSendMessageResults(results.results());
|
||||
return;
|
||||
} catch (IOException e) {
|
||||
throw new UnexpectedErrorException("Failed to send message: " + e.getMessage() + " (" + e.getClass()
|
||||
|
||||
Reference in New Issue
Block a user