mirror of
https://github.com/aljazceru/signal-cli-rest-api.git
synced 2025-12-27 11:34:31 +01:00
* golang channels are meant to be 1:1 channels, so if multiple goroutines listen on the same channel for messages, only one will receive the message and the others are not, which lead to lost messages. In order to fix that, we create a dedicated golang channel for every websocket connection. see #451