job has multiline formatter
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user