mirror of
https://github.com/aljazceru/signal-cli-rest-api.git
synced 2025-12-19 15:44:28 +01:00
Merge pull request #281 from eddywashere/patch-1
Update use of send command to include new required argument
This commit is contained in:
@@ -354,7 +354,7 @@ func (s *SignalClient) send(number string, message string,
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
cmd := []string{"--config", s.signalCliConfig, "-a", number, "send"}
|
cmd := []string{"--config", s.signalCliConfig, "-a", number, "send", "--message-from-stdin"}
|
||||||
if !isGroup {
|
if !isGroup {
|
||||||
cmd = append(cmd, recipients...)
|
cmd = append(cmd, recipients...)
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user