mirror of
https://github.com/AsamK/signal-cli
synced 2025-09-07 06:20:39 +00:00
Improve JSON-RPC subscribeReceive method with subscription id
This commit is contained in:
parent
e5a8cdb056
commit
be0993c5d8
9 changed files with 158 additions and 43 deletions
|
@ -90,10 +90,11 @@ public class JsonRpcReader {
|
|||
String input = lineSupplier.get();
|
||||
|
||||
if (input == null) {
|
||||
// Reached end of input stream
|
||||
logger.trace("Reached end of JSON-RPC input stream.");
|
||||
break;
|
||||
}
|
||||
|
||||
logger.trace("Incoming JSON-RPC message: {}", input);
|
||||
JsonRpcMessage message = parseJsonRpcMessage(input);
|
||||
if (message == null) continue;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue