Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
Fripine committed Oct 10, 2024
1 parent 7603e7c commit 02acaca
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion coolq/bot.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ func removeLocalElement(elements []message.IMessageElement) []message.IMessageEl
for i, e := range elements {
switch e.(type) {
case *msg.LocalImage, *msg.LocalVideo:
case *message.VoiceElement: // 未上传的语音消息, 也删除
//case *message.VoiceElement: // 未上传的语音消息, 也删除
case nil:
default:
if j < i {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ require (
github.com/lestrrat-go/file-rotatelogs v2.4.0+incompatible
github.com/mattn/go-colorable v0.1.13
github.com/pkg/errors v0.9.1
github.com/sealdice/MiraiGo v0.0.0-20241010131311-00329ebe9e5c
github.com/sealdice/MiraiGo v0.0.0-20241010135647-909091860b34
github.com/segmentio/asm v1.2.0
github.com/sirupsen/logrus v1.9.3
github.com/stretchr/testify v1.8.1
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec h1:W09IVJc94
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo=
github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8=
github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs=
github.com/sealdice/MiraiGo v0.0.0-20241010131311-00329ebe9e5c h1:VvAtkd7ulJrLj6q95bY7KSd5o9sdenlKUEIL41ZwWps=
github.com/sealdice/MiraiGo v0.0.0-20241010131311-00329ebe9e5c/go.mod h1:CMd2nfdSfzCamLYIqbaflOXSb9oW7kpCCkkI9kaqBPs=
github.com/sealdice/MiraiGo v0.0.0-20241010135647-909091860b34 h1:5iP7n7M+3Vjq5WeCHyZx7fyfUVSfIK98C1cKKxNTOJM=
github.com/sealdice/MiraiGo v0.0.0-20241010135647-909091860b34/go.mod h1:qrHE4qD1sSp0i8UkqT/VhhrFTjYlQwNlCSkhfx3yCyc=
github.com/segmentio/asm v1.2.0 h1:9BQrFxC+YOHJlTlHGkTrFWf59nbL3XnCoFLTwDCI7ys=
github.com/segmentio/asm v1.2.0/go.mod h1:BqMnlJP91P8d+4ibuonYZw9mfnzI9HfxselHZr5aAcs=
github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ=
Expand Down

0 comments on commit 02acaca

Please sign in to comment.