1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 19:17:38 +08:00

15 Commits

Author SHA1 Message Date
wdvxdr
7b125259d6
style: sort imports 2021-11-12 23:43:22 +08:00
wdvxdr
80e2d83dab
fix: only read protobuf on known sub-type
Fixes Mrs4s/go-cqhttp#1120
2021-10-21 18:01:33 +08:00
wdvxdr
b8399fa706
clean(client): use new ReadBytes rather than ReadAny.
use rsc.io/rf tool:

rf '
  ex {
    import "github.com/Mrs4s/MiraiGo/binary/jce"
    var reader *jce.JceReader
    var tag int
    reader.ReadAny(tag).([]byte) -> reader.ReadBytes(tag)
  }
'
2021-08-13 15:48:20 +08:00
wdvxdr
6614d2383a
fix: friend poke self. 2021-08-10 15:08:36 +08:00
Mrs4s
afa6db17ab
feat: MemberSpecialTitleUpdatedEvent. 2021-08-09 06:02:57 +08:00
Mrs4s
36d7eea2dd
move network logic to network.go. 2021-07-18 20:10:44 +08:00
wdvxdr
7fe0b873c3
fix some issue with golangci-lint. 2021-07-15 21:33:30 +08:00
wdvxdr
2e64a6913d
zap: reuse some []byte
优化单线程上传内存使用
2021-04-15 21:36:14 +08:00
wdvxdr
f3beaae4e4
prealloc. 2021-03-23 20:49:17 +08:00
Mrs4s
5a4b421850 feat: self private msg event. 2021-03-16 18:34:47 +08:00
Mrs4s
2826f14c1d more comment. 2021-03-09 22:56:58 +08:00
github-actions
66b83c2e6d ci(chore): Fix stylings 2021-03-09 14:49:42 +00:00
Mrs4s
5648912288 feat group name updated event. 2021-03-09 22:48:45 +08:00
github-actions
c04b18af70 ci(chore): Fix stylings 2021-03-09 11:14:36 +00:00
Mrs4s
ab3ed8f883 restructure online push decoder. 2021-03-09 19:14:04 +08:00