mirror of
https://github.com/napnap75/multiarch-docker-images.git
synced 2025-12-16 03:34:18 +01:00
Corrected the build following a change in the SendMessage function
This commit is contained in:
@@ -93,7 +93,7 @@ func sendMessage(client *whatsmeow.Client, group string, message string, url str
|
|||||||
MatchedText: proto.String(url),
|
MatchedText: proto.String(url),
|
||||||
JpegThumbnail: thumbnail,
|
JpegThumbnail: thumbnail,
|
||||||
}}
|
}}
|
||||||
ts, err := client.SendMessage(context.Background(), jid, "", msg)
|
ts, err := client.SendMessage(context.Background(), jid, msg)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("Error sending message with title '%s': %v", title, err)
|
return fmt.Errorf("Error sending message with title '%s': %v", title, err)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user