Skip to content

Commit ca11716

Browse files
committed
dependencies: update whatsmeow
1 parent 462bce6 commit ca11716

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ require (
99
github.com/rs/zerolog v1.34.0
1010
go.mau.fi/util v0.9.1
1111
go.mau.fi/webp v0.2.0
12-
go.mau.fi/whatsmeow v0.0.0-20250919124702-c8bdfd36d05e
12+
go.mau.fi/whatsmeow v0.0.0-20250929162548-7c04e9b206b1
1313
golang.org/x/image v0.31.0
1414
golang.org/x/net v0.44.0
1515
golang.org/x/sync v0.17.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ go.mau.fi/util v0.9.1 h1:A+XKHRsjKkFi2qOm4RriR1HqY2hoOXNS3WFHaC89r2Y=
8181
go.mau.fi/util v0.9.1/go.mod h1:M0bM9SyaOWJniaHs9hxEzz91r5ql6gYq6o1q5O1SsjQ=
8282
go.mau.fi/webp v0.2.0 h1:QVMenHw7JDb4vall5sV75JNBQj9Hw4u8AKbi1QetHvg=
8383
go.mau.fi/webp v0.2.0/go.mod h1:VSg9MyODn12Mb5pyG0NIyNFhujrmoFSsZBs8syOZD1Q=
84-
go.mau.fi/whatsmeow v0.0.0-20250919124702-c8bdfd36d05e h1:+o9+K5Qyo/490H4NyPVA0Es+aEzmmjaK37/437hV2LM=
85-
go.mau.fi/whatsmeow v0.0.0-20250919124702-c8bdfd36d05e/go.mod h1:dvltpCF0rOHbbur25DHbQ3Ovi747z2Pm11S2M7p1T74=
84+
go.mau.fi/whatsmeow v0.0.0-20250929162548-7c04e9b206b1 h1:JYsRQj8OiqZT6opjhtwUsndTDsHwDtRKaW3AERkGK7E=
85+
go.mau.fi/whatsmeow v0.0.0-20250929162548-7c04e9b206b1/go.mod h1:dvltpCF0rOHbbur25DHbQ3Ovi747z2Pm11S2M7p1T74=
8686
go.mau.fi/zeroconfig v0.2.0 h1:e/OGEERqVRRKlgaro7E6bh8xXiKFSXB3eNNIud7FUjU=
8787
go.mau.fi/zeroconfig v0.2.0/go.mod h1:J0Vn0prHNOm493oZoQ84kq83ZaNCYZnq+noI1b1eN8w=
8888
golang.org/x/crypto v0.42.0 h1:chiH31gIWm57EkTXpwnqf8qeuMUi0yekh6mT2AvFlqI=

pkg/msgconv/wa-misc.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ import (
2727
"github.com/rs/zerolog"
2828
"go.mau.fi/util/exerrors"
2929
"go.mau.fi/util/ptr"
30+
"go.mau.fi/whatsmeow/proto/waAICommon"
3031
"go.mau.fi/whatsmeow/proto/waE2E"
3132
"go.mau.fi/whatsmeow/types"
3233
"google.golang.org/protobuf/proto"
@@ -264,7 +265,7 @@ func (mc *MessageConverter) convertRichResponseMessage(ctx context.Context, msg
264265
var body strings.Builder
265266

266267
for i, submsg := range msg.GetSubmessages() {
267-
if submsg.GetMessageType() == waE2E.AIRichResponseMessage_AI_RICH_RESPONSE_TEXT {
268+
if submsg.GetMessageType() == waAICommon.AIRichResponseSubMessageType_AI_RICH_RESPONSE_TEXT {
268269
if i > 0 {
269270
body.WriteString("\n")
270271
}

0 commit comments

Comments
 (0)