Add thank-you note for blueagain from libera.chat

This commit is contained in:
King_DuckZ 2022-05-14 08:00:13 +02:00
parent 6cbe6ae47f
commit a0cfc10fa2

View file

@ -72,6 +72,10 @@ namespace {
} }
void init_bitcoinity (WebsocketReader& ws, std::string_view exchange, std::string_view currency) { void init_bitcoinity (WebsocketReader& ws, std::string_view exchange, std::string_view currency) {
//thanks to blueagain from #javascript libera.chat for helping figuring
//out the websocket address and the correct sequence of messages to
//initiate the communication properly.
//https://github.com/terrablue
{ {
ws.write(R"({"topic":"all","event":"phx_join","payload":{},"ref":"1"})"); ws.write(R"({"topic":"all","event":"phx_join","payload":{},"ref":"1"})");
auto resp = to_bitcoinity_message(ws.read()); auto resp = to_bitcoinity_message(ws.read());