Showing 1 of 1 total issue
Method Client.Notify
has 5 return statements (exceeds 4 allowed). Open
Open
func (c *Client) Notify(tx Transmission) error {
chunks := ChunkMessage(tx.Message, 1900) // Text message must be UTF-8 and has a 2000-character limit.
for index, chunk := range chunks {
if len(chunks) > 1 {