mirror of
https://github.com/aljazceru/signal-cli-rest-api.git
synced 2026-01-03 15:04:39 +01:00
implemented trust mode
* implemented possibility to set the trust mode globally see #240
This commit is contained in:
@@ -113,7 +113,7 @@ func main() {
|
||||
|
||||
fifoPathname := fifoBasePathName + strconv.FormatInt(ctr, 10)
|
||||
tcpPort := tcpBasePort + ctr
|
||||
jsonRpc2ClientConfig.AddEntry(number, utils.ConfigEntry{TcpPort: tcpPort, FifoPathname: fifoPathname})
|
||||
jsonRpc2ClientConfig.AddEntry(number, utils.JsonRpc2ClientConfigEntry{TcpPort: tcpPort, FifoPathname: fifoPathname})
|
||||
ctr += 1
|
||||
|
||||
os.Remove(fifoPathname) //remove any existing named pipe
|
||||
|
||||
Reference in New Issue
Block a user