Commit Graph

630 Commits

Author SHA1 Message Date
Him188
83faf81fb2 Better API visibility 2020-03-01 15:26:46 +08:00
Him188
bbf991103d Add MessageSource.originalMessage 2020-03-01 14:40:51 +08:00
Him188
58b1a4d7e3 Reduce code complexity 2020-03-01 14:40:24 +08:00
Him188
03e22bcfef Replace mirai_version with miraiVersion 2020-03-01 13:01:36 +08:00
Him188
3748963a03 Support MessageReceipt.quoteReply for group 2020-03-01 01:55:03 +08:00
Him188
3d6fe5a803 Add Cmd0x858 2020-03-01 00:31:53 +08:00
Him188
1dd4caa057 Support recall events, close #88 2020-02-29 23:48:44 +08:00
Him188
6a85769e0d Use io.ktor.utils.io than kotlinx.io 2020-02-29 23:19:53 +08:00
Him188
ffee2e26fc Use ktor.io than kotlinx.io 2020-02-29 21:25:30 +08:00
Him188
1e9b34a636 Add low-level apis 2020-02-29 14:46:40 +08:00
Him188
067a949630 Rename MessageSource.senderId to MessageSource.qqId 2020-02-29 13:58:27 +08:00
Him188
756e8b537e Improve equals 2020-02-29 13:24:24 +08:00
Him188
6afc11df45 Remove debugging printlns 2020-02-28 22:05:17 +08:00
Him188
01ff846929 Fix copyTo 2020-02-28 22:02:34 +08:00
Him188
469181e249 Fix imageUpload 2020-02-28 21:38:11 +08:00
Him188
e2170175c9 Fix image uploading 2020-02-28 20:23:09 +08:00
Him188
ccf5df944e ImageUpload: enhance performance using ByteArrayPool, send chunked packets separately 2020-02-28 19:17:32 +08:00
Him188
932a3ef1f2 Review: misc improvements 2020-02-28 19:16:22 +08:00
Him188
a7755cd736 Rename readPacket to readPacketExact 2020-02-28 13:27:46 +08:00
Him188
fca3d6bd7a Make HttpClient.postImage not suspend 2020-02-28 13:11:28 +08:00
Him188
0d08956349 Add timeout check for uploading image 2020-02-28 10:26:52 +08:00
Him188
be63ec48fa Review: misc improvements 2020-02-26 12:54:06 +08:00
Him188
753f3261e0 Review: misc improvements 2020-02-26 10:36:14 +08:00
Him188
8b9cef05d7 Specify OverFileSizeMaxException throws 2020-02-24 17:09:08 +08:00
Him188
6cbc69cd68 Fix sequenceId for FriendMessage 2020-02-24 10:26:27 +08:00
Him188
babc21198c Add timeout 2020-02-23 19:31:26 +08:00
Him188
10da499039 Structured Message 2020-02-23 18:14:26 +08:00
Him188
ccc6826e3a Redesign MessageChain:
Make MessageChain immutable
Introduce CombinedMessage, a left-biased list
Introduce MessageChainBuilder
2020-02-23 16:47:21 +08:00
Him188
5590ef510d Powerful ExternalImage: support various types of input 2020-02-23 12:22:51 +08:00
Him188
ec30eef250 Powerful QuoteReply 2020-02-23 02:12:04 +08:00
Him188
5f141cdb6d Supports friend message quote reply 2020-02-23 01:29:21 +08:00
Him188
17aff7d599 Make quoteReply common to MessagePacket 2020-02-23 01:01:20 +08:00
Him188
ee2dcc8584 Fix improper receiver use 2020-02-22 23:45:40 +08:00
Him188
692e7c950c Image download support, close #49 2020-02-22 23:32:47 +08:00
Him188
b70bf5e042 Rewrite recall and MessageSource.id 2020-02-22 21:47:02 +08:00
Him188
8454d78293 Move recall from Contact to Group 2020-02-22 21:12:32 +08:00
Him188
3d8485fee5 Fix .last bug 2020-02-22 16:22:49 +08:00
Him188
0015b7bcc1 Make MessageSource.messageUid int 2020-02-22 13:48:13 +08:00
Him188
0e30d3d69b Better memory management 2020-02-22 11:36:19 +08:00
Him188
da2b279a19 Merge remote-tracking branch 'origin/master' 2020-02-22 11:24:41 +08:00
Him188
616957430a Remove MessageSource.sourceMessage 2020-02-22 10:59:27 +08:00
ryoii
876da07144 tool man fixes bugs which he doesnt know at all 2020-02-22 00:40:40 +08:00
Him188
8d11578265 Use newly introduced linear processing 2020-02-21 22:29:58 +08:00
Him188
b26b3bbfbc Fix MemberImpl.equals 2020-02-21 22:29:17 +08:00
Him188
e580992e0b Fix At 2020-02-21 21:07:00 +08:00
Him188
b09dadce99 Add toString 2020-02-21 20:29:57 +08:00
Him188
0015f3817c Unified group imageId 2020-02-21 20:28:48 +08:00
Him188
97da6fce60 Ensure sequenceId available 2020-02-21 19:04:29 +08:00
Him188
587fab23e1 Support recall, add MessageReceipt 2020-02-21 18:21:58 +08:00
Him188
ff8e6e8b80 Add sequenceId to MessageSource 2020-02-21 16:29:39 +08:00