Merge pull request #281 from eddywashere/patch-1

Update use of send command to include new required argument
This commit is contained in:
Bernhard B 2022-09-18 11:51:29 +02:00 committed by GitHub
commit d136f7cd3f
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 {