1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-08-10 12:01:49 +00:00

178 Commits

Author SHA1 Message Date
c1cbb69110 Merge remote-tracking branch 'origin/master' into network 2022-01-28 22:17:44 +08:00
ab72f3dc28 Revert "message: remove GroupImage Width & Height"
This reverts commit 9d618e2d9f.

handle zero width and height in another way.
2021-12-28 22:09:53 +08:00
9d618e2d9f message: remove GroupImage Width & Height
sometimes these fields may be zero causing send failures
2021-12-28 21:48:23 +08:00
LXY
f5b16b19c2 Network refactor (#229)
* 重构:netLoop下移到Listener

* 格式:修正NewClient中注释段缩进

* 格式:更名&将代码移动到对应位置

* 格式:TCPListener去锁化

* 修正:netLoop中的错误调用

* 修正:使其可用

* 修正:使功能一致

* 修正:现在可正常运行

* 优化:更早的释放锁(?

* 修正:未写完的部分

* 修正:潜在的断线时仍然认为在线这件事&删除空重复文件

* 文档:添加部分注释

* 修正:CoverError可能引起死锁

* 修正:永远不会被触发的DisconnectEvent

* 文档:将注释移动至对应位置
2021-12-27 15:36:52 +08:00
9bd6b38f90 refactor: handle params in request 2021-12-27 15:36:47 +08:00
c51e1956e8 feat: add util function to split long message (#184)
* feat: add util function to split long message

* fix: move util to message/message.go to avoid import cycle

* fix: review opinions and add test
2021-12-23 12:57:18 +08:00
72ffc08b72 ci(chore): Fix stylings 2021-12-18 09:39:50 +00:00
e700751008 解析猜拳&随机骰子
安卓QQ发来的骰子Name值是随机骰子
2021-12-18 17:35:32 +08:00
75d9c4deb4 石头剪子布
生成石头剪子布
2021-12-18 17:31:11 +08:00
dc66c61d57 feat: link nested forward message 2021-12-17 12:27:14 +08:00
d8cae988c6 Merge branch 'master' of github.com:/Mrs4s/MiraiGo 2021-12-17 00:20:48 +08:00
68e387e91b feat: at channel support 2021-12-17 00:20:27 +08:00
ff9ef5135c remove: stash.go
these function seems not useful
2021-12-16 21:47:48 +08:00
8b99d3147e style: fix issues reported by golangci-lint 2021-12-16 20:21:49 +08:00
d55929cf12 feat: PullGuildChannelMessage 2021-12-13 20:53:55 +08:00
8b4b8269f3 feat: GetTopicChannelFeeds 2021-11-27 01:21:04 +08:00
ec4cd4a6f3 style: internal/proto
use this package for conveniently replacing proto package
in the future.
2021-11-22 22:05:19 +08:00
3216c69d46 feat: support receive Animated Sticker 2021-11-19 23:02:45 +08:00
aa92a8bb6c feat: support send Animated Stickers 2021-11-19 22:07:46 +08:00
19e2050004 feat: upload guild short video 2021-11-18 21:28:17 +08:00
511e8c41ed feat: guild at encode 2021-11-15 01:08:54 +08:00
2e441ed925 drop SendGroupGift support
QQ no longer provide free group gifts, so we should drop it
2021-11-14 21:52:09 +08:00
8427db5347 feat: support guild at message decode 2021-11-14 17:16:01 +08:00
d3a21e577b fix: guild image type error 2021-11-13 02:30:36 +08:00
9350021852 feat: SendGuildChannelMessage return *message.GuildChannelMessage 2021-11-12 02:17:01 +08:00
b644f5c158 feat: UploadGuildImage 2021-11-12 01:50:30 +08:00
cc17020dab feat: FindChannel method 2021-11-10 00:59:59 +08:00
190c494409 fix: method missing 2021-11-09 03:25:42 +08:00
af9ed48cb7 feat: query guild service image 2021-11-09 03:16:26 +08:00
b1d5a3d064 feat: GuildMessageReactionsUpdatedEvent 2021-11-08 04:51:35 +08:00
1b9956b79b feat: GuildChannelMessageEvent 2021-11-07 22:54:26 +08:00
90392f27c5 feat: GetGroupImageDownloadUrl impl 2021-10-30 17:11:39 +08:00
a5c23d8236 Merge branch 'master' of github.com:/Mrs4s/MiraiGo 2021-10-30 00:49:02 +08:00
3a0d7f1672 add: market face comment 2021-10-30 00:48:28 +08:00
3660a1a2d7 ci(chore): Fix stylings 2021-10-28 16:40:50 +00:00
d4d11202d6 feat: supported dice face sending 2021-10-29 00:39:53 +08:00
a8e6d4b945 feat: market face parser & dice face support 2021-10-29 00:15:57 +08:00
0ef4c01861 fix: c2c image url error 2021-10-20 22:55:01 +08:00
a3eacd706b feat: add GroupID field in reply message 2021-10-11 21:02:17 +08:00
59288fc4dc add: image biz type support. 2021-09-06 13:12:04 +08:00
fd9a6657fa drop dep jsoniter&reflect2.
for smaller binary size.
2021-08-25 16:16:08 +08:00
38916542a3 style: run go fmt ./... 2021-08-19 22:27:22 +08:00
cb396f0f56 refactor(message): ForwardMessage don't impl IMessageElement interface
use ForwardMessage to upload and get the ForwardElement.
2021-08-03 15:36:20 +08:00
b93c02e18e rf(message): refactor image & flash image [break-change]. 2021-07-18 11:32:51 +08:00
1f6ef84f8b update face. 2021-07-16 17:05:55 +08:00
7fe0b873c3 fix some issue with golangci-lint. 2021-07-15 21:33:30 +08:00
5b20b58d78 rf(message): simply send message. 2021-07-14 21:29:12 +08:00
211a39e36c rf(message): move forward to forward.go 2021-07-13 16:01:29 +08:00
b7dee2aeb2 use binary package in reader. 2021-07-13 10:17:36 +08:00
8748b9b30d add generated file 2021-07-09 10:50:48 +08:00