Update use of send command to include new required argument

See 4120630309# for more info
This commit is contained in:
Eddy Hernandez 2022-09-11 16:01:22 -07:00 committed by GitHub
parent a1189292f8
commit 8cd14210e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -354,7 +354,7 @@ func (s *SignalClient) send(number string, message string,
return nil, err
}
} else {
cmd := []string{"--config", s.signalCliConfig, "-a", number, "send"}
cmd := []string{"--config", s.signalCliConfig, "-a", number, "send", "--message-from-stdin"}
if !isGroup {
cmd = append(cmd, recipients...)
} else {