relay: address the account by phone number and pass the message via -m
signal-cli 0.14.7 parses an all-digit -a value as a phone number (the numeric account name never resolves), and the message is a -m option, not a positional (a positional is parsed as a second recipient). Verified live: corrected invocation returns type SUCCESS.
This commit is contained in:
@@ -473,7 +473,7 @@ assert any('ALERTS' in e for e in exprs), exprs
|
||||
local handler="$REPO_ROOT/scripts/deploy-remote.sh"
|
||||
grep -q 'signal-cli' "$relay"
|
||||
grep -q 'SIGNAL_CLI = "/usr/local/bin/signal-cli"' "$relay"
|
||||
grep -q 'SIGNAL_ACCOUNT = "318311"' "$relay"
|
||||
grep -q 'SIGNAL_ACCOUNT = "+12062476336"' "$relay"
|
||||
grep -q 'LISTEN_ADDR = ("192.168.0.143", 18093)' "$relay"
|
||||
grep -q -- '--dport 18093 -s 127.0.0.1 -j ACCEPT' "$handler"
|
||||
grep -q -- '--dport 18093 -s 192.168.0.143 -j ACCEPT' "$handler"
|
||||
|
||||
Reference in New Issue
Block a user