Some background...
I am testing signal-cli with cleartext enabled, for experimental / debugging purposes, and have configured the server URL with
the CLEARTEXT spec, however it does not propagate to the websocket connection.
looks good.
It would be good if the websocket changes would also be in the upstream Signal-Android repo, but I'm not sure if they'd accept a PR for it...
Changes the WebSocketConnection to use the SignalUrl ConnectionSpecs, just the same as PushServiceSocket does already.
https://github.com/Turasa/libsignal-service-java/blob/8d34edc9f2d664e7524998f59d996bb30af33065/service/src/main/java/org/whispersystems/signalservice/internal/websocket/WebSocketConnection.java#L140
https://github.com/Turasa/libsignal-service-java/blob/8704a5ff73ee8338d48429dc920a4d8947a9b44f/service/src/main/java/org/whispersystems/signalservice/internal/push/PushServiceSocket.java#L1891
Some background... I am testing signal-cli with cleartext enabled, for experimental / debugging purposes, and have configured the server URL with the CLEARTEXT spec, however it does not propagate to the websocket connection.