File tree 3 files changed +8
-4
lines changed
app/bff/messages/internal/core 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ func (c *MessagesCore) MessagesGetMessages(in *mtproto.TLMessagesGetMessages) (*
38
38
}).To_Messages_Messages ()
39
39
)
40
40
41
- for _ , id := range in .GetId () {
41
+ for _ , id := range in .GetId_VECTORINPUTMESSAGE () {
42
42
switch id .PredicateName {
43
43
case mtproto .Predicate_inputMessageID :
44
44
idList = append (idList , id .Id )
@@ -49,6 +49,10 @@ func (c *MessagesCore) MessagesGetMessages(in *mtproto.TLMessagesGetMessages) (*
49
49
return nil , err
50
50
}
51
51
}
52
+ if len (in .GetId_VECTORINT32 ()) > 0 {
53
+ idList = append (idList , in .Id_VECTORINT32 ... )
54
+ }
55
+
52
56
if len (idList ) == 0 {
53
57
return rValues , nil
54
58
}
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ require (
11
11
github.com/oschwald/geoip2-golang v1.6.1
12
12
github.com/stretchr/testify v1.7.0
13
13
github.com/teamgram/marmota v0.0.0-20220314144307-22e582614d69
14
- github.com/teamgram/proto v0.0.0-20220315100427-c0acd8ce93d5
14
+ github.com/teamgram/proto v0.139.1
15
15
github.com/zeromicro/go-zero v1.3.1
16
16
google.golang.org/grpc v1.44.0
17
17
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c
Original file line number Diff line number Diff line change @@ -395,8 +395,8 @@ github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5Cc
395
395
github.com/stretchr/testify v1.7.0 /go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg =
396
396
github.com/teamgram/marmota v0.0.0-20220314144307-22e582614d69 h1:iqm73AYb10I2FqQuTlUk6dJa0fqjoazJ278I+HVYmZo =
397
397
github.com/teamgram/marmota v0.0.0-20220314144307-22e582614d69 /go.mod h1:tFClio2OcyK1uuH4cxrTlgTyyS7fmOZld1otoT8VyUw =
398
- github.com/teamgram/proto v0.0.0-20220315100427-c0acd8ce93d5 h1:hQB79vr6uJDmtGhX7B9OWwx7joTzDbbiXMeqguHkKLA =
399
- github.com/teamgram/proto v0.0.0-20220315100427-c0acd8ce93d5 /go.mod h1:Z3dkL8EDO4xAACAG6uzqdDgPK8I4fj87Zl/xFgGhiec =
398
+ github.com/teamgram/proto v0.139.1 h1:ybyhBQ1rRos67EcAqYuRKEq3fAS2eyc8t3GaDLrgpLw =
399
+ github.com/teamgram/proto v0.139.1 /go.mod h1:Z3dkL8EDO4xAACAG6uzqdDgPK8I4fj87Zl/xFgGhiec =
400
400
github.com/teamgramio/go-zero v1.3.1-0.20220314151701-fcad5c744b40 h1:o9la6ieeAzmabOtznReq5m7711dH3U2l0kIQUvYG8Hc =
401
401
github.com/teamgramio/go-zero v1.3.1-0.20220314151701-fcad5c744b40 /go.mod h1:JsgCzJSUcjZl487xtqWHzYFa7Wl4f5Gi3lcteOWgNRA =
402
402
github.com/urfave/cli/v2 v2.3.0 /go.mod h1:LJmUH05zAU44vOAcrfzZQKsZbVcdbOG8rtL3/XcUArI =
You can’t perform that action at this time.
0 commit comments