Commit Graph

4655 Commits

Author SHA1 Message Date
Him188
93fcb566fd Introduce AsyncRecallResult for getting result of recallIn 2021-01-11 18:36:04 +08:00
Him188
84ecb1df11 Update docs 2021-01-11 18:08:01 +08:00
Him188
3e68f4f95e Update docs 2021-01-11 18:06:59 +08:00
Him188
8445048df4 Review deprecation, remove 2.0-M2 migrations 2021-01-11 18:04:42 +08:00
Him188
499a518016 Add Bot.close(), improve docs 2021-01-11 17:59:54 +08:00
Him188
190a098227 Do not kill bot on offline. Fix #838 2021-01-11 17:59:07 +08:00
Him188
1d4867d9b6 Merge remote-tracking branch 'origin/dev' into dev 2021-01-11 17:39:28 +08:00
Him188
25ad97766c Fix potential memory leak. #556 2021-01-11 17:39:10 +08:00
Him188
7f8003478c Make OtherClientInfo.platform nullable. 2021-01-11 17:14:24 +08:00
Him188
c074bef9c6 Deprecate TempMessageEvent and add GroupTempMessageEvent for #429 2021-01-11 17:09:01 +08:00
Him188
3c0e7e7834 Gradle 6.8 2021-01-11 17:07:49 +08:00
Karlatemp
01c050d0b6
FragmentedMsgParsingCache 2021-01-10 23:20:15 +08:00
sandtechnology
268dcc7039
Support PushStatus and add new ClientKind, Fix #787 (#836)
* Support PushStatus and improve ClientKind

* Revert NotNull changes
2021-01-10 23:18:14 +08:00
Him188
5e24e47c84 2.0-RC-dev-8 2021-01-10 20:32:45 +08:00
Him188
9a57a3cfc2 [Review] MessageSource:
- Remove isAboutXXX
2021-01-10 20:31:00 +08:00
Him188
a2d9dbfcc4 [Review] Messages:
- Optimize empty message chain on builders
- Remove `QuoteReply.bot`
- Code style
- Docs
2021-01-10 18:02:07 +08:00
Him188
b4b70f028b 2.0-RC-dev-7 2021-01-10 04:38:31 +08:00
Him188
c8298b1cac Filter redundant At around QuoteReply sent by Android clients 2021-01-10 04:38:20 +08:00
Him188
15a9d5c983 [Review] MessageChainBuilder: do not check built 2021-01-10 04:30:15 +08:00
Him188
938cc6dd07 [Review] MiraiCode and message serialization:
- Add extensions for Kotlin callers
2021-01-10 04:16:59 +08:00
Him188
ad6e951be8 Fix MessageSource.originalMessage: now offline sources does not have MessageSource in their originalMessage 2021-01-10 03:44:58 +08:00
Him188
b65afd8533 Fix messageSourceKind for OfflineMessageSource in QuoteReply 2021-01-10 03:12:30 +08:00
Him188
fec93d3cb8 2.0-RC-dev-6 2021-01-10 01:05:56 +08:00
Him188
1a1eb0e2a4 [Review] MessageSourceBuilder 2021-01-09 21:36:27 +08:00
Him188
3e4d279bcc Change TempMessageEvent.sender from Member to NormalMember 2021-01-09 20:55:50 +08:00
Him188
6972a84007 Separate events to reduce file size 2021-01-09 20:47:44 +08:00
Him188
8333dfa52a Update docs 2021-01-09 20:21:20 +08:00
Him188
989cd3292e Merge remote-tracking branch 'origin/dev' into dev 2021-01-09 14:54:02 +08:00
Karlatemp
bca98c72d5
Fix StackOverflowError in QuoteReply
fix #829
2021-01-09 13:11:07 +08:00
Him188
619dafa1ae [Review] Move Listener.ConcurrencyKind and Listener.EventPriority to top-level 2021-01-08 12:41:42 +08:00
Him188
4e2108d841 [Review] NudgeEvent: Simplify and stabilize NudgeEvent, remove all XXXNudgeEvent, add single NudgeEvent 2021-01-08 12:28:12 +08:00
Him188
8f998320ca Fix sendAndExpect retry 2021-01-08 12:04:15 +08:00
Him188
7dd7f48994 Don't catch Error while reconnecting and sending packet, fix #824 2021-01-08 12:03:42 +08:00
Him188
b32090bf2a [Review] OtherClient:
- Change Bot.otherClients to ContactList<OtherClient>
- Change OtherClient.id to delegate info.appId
- Stabilize OtherClientInfo
2021-01-08 11:42:44 +08:00
Him188
1885db5523 Code cleanup 2021-01-08 11:37:09 +08:00
Him188
179746c5f7 Update docs 2021-01-08 11:24:23 +08:00
Him188
8abbfbe4c5 [Review] ContactList: deprecate ContactList<*>.idContentString 2021-01-08 11:24:13 +08:00
Him188
3f3ba48b24 [Review] Member: deprecate Member.isNormal and Member.isAnonymous for simplicity 2021-01-08 11:19:53 +08:00
Him188
976901603e [Review] MessageRecallEvent: make author and operator not null 2021-01-08 11:11:45 +08:00
Him188
03ab43ad17 Merge remote-tracking branch 'origin/dev' into dev 2021-01-08 10:58:40 +08:00
Him188
ea4c82d3c5 [Review] Event: review type hierarchy, add UserEvent 2021-01-08 10:57:26 +08:00
Him188
6b11ae7320 [Review] MessageEvent: Implement UserMessageEvent and rearrange code 2021-01-08 10:52:03 +08:00
Him188
355fef4c33 [Review] MessageEvent: remove deprecated extensions 2021-01-08 10:43:41 +08:00
Him188
7f9b500e22 [Review] EventChannel: Update docs 2021-01-08 10:37:20 +08:00
Him188
7fea4f4b9e Remove migration for EventChannel 2021-01-08 10:17:30 +08:00
Him188
2049a9d5af Update docs 2021-01-08 10:10:45 +08:00
Him188
abcac7ff23 [Review] subscribeMessages: simplify implementations 2021-01-08 10:05:37 +08:00
Him188
f31fbafd02 [Review] MessageSelectBuilder: remove dark magics 2021-01-08 09:51:42 +08:00
Him188
70633a631a [Review] MessageSubscribersBuilder: stabilization. 2021-01-08 09:50:07 +08:00
Him188
98545e6f6f [Review] FileCacheStrategy: delete temp file on closure 2021-01-08 09:44:29 +08:00