job has multiline formatter

This commit is contained in:
Bel LaPointe
2022-01-10 23:00:45 -05:00
parent 2791ba6763
commit ec2b514a9f
3 changed files with 18 additions and 9 deletions

View File

@@ -1,7 +1,6 @@
package message
import (
"fmt"
"local/truckstop/config"
"github.com/matrix-org/gomatrix"
@@ -33,9 +32,6 @@ func (m Matrix) Send(text string) error {
if err != nil {
return err
}
resp, err := c.SendText(m.room, text)
if err != nil {
return err
}
return fmt.Errorf("%+v", resp)
_, err = c.SendText(m.room, text)
return err
}