mirror of
https://git.mills.io/saltyim/saltyim.git
synced 2024-06-16 03:48:24 +00:00
Code cleanup
This commit is contained in:
parent
368577c99e
commit
5e067f63cc
@ -174,7 +174,6 @@ func (cli *Client) SendWithConfig(user string, config *Config, msg string) error
|
||||
return fmt.Errorf("error encrypting message to %s: %w", user, err)
|
||||
}
|
||||
|
||||
log.Println("SEND: ", config.Endpoint, user, msg)
|
||||
if err := Send(config.Endpoint, string(b)); err != nil {
|
||||
return fmt.Errorf("error sending message to %s: %w", user, err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user